Bug 85462 - Web Inspector: compile time ambiguity happens when I try to assign a TypeBuilder object to an out argument
Summary: Web Inspector: compile time ambiguity happens when I try to assign a TypeBuil...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Ilya Tikhonovsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-02 23:36 PDT by Ilya Tikhonovsky
Modified: 2012-05-03 05:38 PDT (History)
10 users (show)

See Also:


Attachments
Patch (6.91 KB, patch)
2012-05-02 23:40 PDT, Ilya Tikhonovsky
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Tikhonovsky 2012-05-02 23:36:58 PDT
It happens because we have type casting operators for both types RefPtr<*Type*> and PassRefPtr<*Type*>.
I think we can drop PassRefPtr type casting operator and use a named function 'release'.
Comment 1 Ilya Tikhonovsky 2012-05-02 23:40:12 PDT
Created attachment 139964 [details]
Patch
Comment 2 Ilya Tikhonovsky 2012-05-03 05:38:42 PDT
Comment on attachment 139964 [details]
Patch

Clearing flags on attachment: 139964

Committed r115965: <http://trac.webkit.org/changeset/115965>
Comment 3 Ilya Tikhonovsky 2012-05-03 05:38:49 PDT
All reviewed patches have been landed.  Closing bug.