[Webkit-unassigned] [Bug 91222] New: Make Functional bind PassOwnPtr.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 13 05:07:22 PDT 2012


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

           Summary: Make Functional bind PassOwnPtr.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: luxtella at company100.net


In common, threads communicate using Functional. However, Functional causes the
segment fault in following case.

Class Foo {};

void bar(PassOwnPtr<Foo> foo);

{
    OwnPtr<Foo> foo;
    callOnMainThread(bind(bar, foo.release());
}

This patch fixed it.

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