NEW 158173
Clean up all C++ lambdas passed to methods other than callOnMainThread
https://bugs.webkit.org/show_bug.cgi?id=158173
Summary Clean up all C++ lambdas passed to methods other than callOnMainThread
Brady Eidson
Reported 2016-05-27 17:01:20 PDT
Clean up all C++ lambdas passed to dispatch() methods Now that we have C++14 we can make sure we don't do unnecessary copies of captured variables, as well as initialize things like protectors inside of the capture list. By going through all of them we can probably also fix some thread safety issues. I plan to grep through all of Source using: grep -rn '\[.\+\]\s*\((.*)\)\?\s*{\s*$' .
Attachments
Brady Eidson
Comment 1 2016-05-27 17:02:41 PDT
I meant: grep -rn '\[.\+\]\s*\((.*)\)\?\s*{\s*$' . | grep -v callOnMainThread Because I don't want to conflict with https://bugs.webkit.org/show_bug.cgi?id=158166
Note You need to log in before you can comment on or make changes to this bug.