[Webkit-unassigned] [Bug 133541] New: ScriptExecutionContext::Task lambdas shouldn't have to specify unused ScriptExecutionContext* parameters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 5 02:48:59 PDT 2014


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

           Summary: ScriptExecutionContext::Task lambdas shouldn't have to
                    specify unused ScriptExecutionContext* parameters
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: zandobersek at gmail.com
                CC: darin at apple.com


Some ScriptExecutionContext::Task lambdas don't use the ScriptExecutionContext pointer that's passed into the function.
This would look better:

    context->postTask([=] {
        doWhatever(stringCopy);
    });

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