[Webkit-unassigned] [Bug 46028] New: [FileSystem] Fix Flags handling in DirectoryEntry custom binding code

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 17 22:57:42 PDT 2010


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

           Summary: [FileSystem] Fix Flags handling in DirectoryEntry
                    custom binding code
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kinuko at chromium.org
                CC: abarth at webkit.org, dumi at chromium.org


DirectoryEntry's custom code added by issue 45724 for FileSystem API has wrong RefPtr handling.

When the given flags argument is an instance of Flags object, the custom code calls adoptRef to get a RefPtr from a raw Flags pointer returned by toFlags/toNative.
However, toFlags/toNative returns an already adopted pointer so it should just assign the returned pointer rather than adopt assignment (the latter doesn't increment refCount).

-- 
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