[Webkit-unassigned] [Bug 122175] New: use adoptCOM template instead of COMPtr::adoptRef

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 1 13:07:35 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=122175

           Summary: use adoptCOM template instead of COMPtr::adoptRef
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows 7
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P3
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alex.christensen at flexsim.com
                CC: andersca at apple.com, bfulgham at webkit.org


Once bug 122069 lands, we'll have a syntactically better alternative to COMPtr::adoptRef, which requires two lines and is hard to distinguish from PassRefPtr's adoptRef.  This should probably be a global rename in the Windows code, and COMPtr::adoptRef should be remove.  Also, PassRefPtr would look nicer if it used a custom type like AdoptRefPtr instead of an unused bool in the constructor.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list