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
Note You need to log in before you can comment on or make changes to this bug.