Bug 134470

Summary: Avoid copying function object in lambda function in ScrollingThread::dispatchBarrier(); actually use move semantics
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebCore Misc.Assignee: Daniel Bates <dbates>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, bunhere, cdumez, cmarcelo, commit-queue, darin, gyuyoung.kim, jamesr, luiz, sergio, tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch andersca: review+

Daniel Bates
Reported 2014-06-30 16:33:32 PDT
We should make the lambda expression mutable in ScrollingThread::dispatchBarrier() so that we actually use move semantics when calling callOnMainThread().
Attachments
Patch (1.87 KB, patch)
2014-06-30 16:34 PDT, Daniel Bates
andersca: review+
Daniel Bates
Comment 1 2014-06-30 16:34:24 PDT
Daniel Bates
Comment 2 2014-06-30 17:04:46 PDT
Note You need to log in before you can comment on or make changes to this bug.