Bug 138389 - Allow constructing a PassRef from a Ref
Summary: Allow constructing a PassRef from a Ref
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-04 17:26 PST by Chris Dumez
Modified: 2014-11-05 16:16 PST (History)
3 users (show)

See Also:


Attachments
Patch (5.97 KB, patch)
2014-11-04 18:03 PST, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2014-11-04 17:26:08 PST
Allow constructing a PassRef from a Ref, similarly to PassRefPtr that can be constructed from a RefPtr already. This avoids having to call Ref::get() and simplifies the code a bit.
Comment 1 Chris Dumez 2014-11-04 18:03:00 PST
Created attachment 240991 [details]
Patch
Comment 2 Andreas Kling 2014-11-05 15:36:32 PST
Comment on attachment 240991 [details]
Patch

Seems fine. r=me
Comment 3 WebKit Commit Bot 2014-11-05 16:16:22 PST
Comment on attachment 240991 [details]
Patch

Clearing flags on attachment: 240991

Committed r175648: <http://trac.webkit.org/changeset/175648>
Comment 4 WebKit Commit Bot 2014-11-05 16:16:25 PST
All reviewed patches have been landed.  Closing bug.