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+

Description Daniel Bates 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().
Comment 1 Daniel Bates 2014-06-30 16:34:24 PDT
Created attachment 234115 [details]
Patch
Comment 2 Daniel Bates 2014-06-30 17:04:46 PDT
Committed r170616: <http://trac.webkit.org/changeset/170616>