WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
Bug 158457
Remove the need for the CrossThreadTask::CrossThreadTask(NoncopyableFunction<void ()>&) constructor
https://bugs.webkit.org/show_bug.cgi?id=158457
Summary
Remove the need for the CrossThreadTask::CrossThreadTask(NoncopyableFunction<...
Brady Eidson
Reported
2016-06-06 19:54:02 PDT
Remove the need for the CrossThreadTask::CrossThreadTask(NoncopyableFunction<void ()>&) constructor The purpose of CrossThreadTask is that users feed in a method and all the arguments, which are then copied as needed for cross-thread use. By exposing a constructor that takes any callable function, one can create a "Cross thread task" that isn't really cross thread. We added this for expediency while hacking on lambdas and dispatch methods, but its necessity should be removed.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug