Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(758)

Unified Diff: Source/core/dom/ExecutionContextTask.h

Issue 374583002: Replace CallClosureTask::create(bind()) with createCrossThreadTask() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase, rename to createCrossThreadTask, and so Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/ExecutionContextTask.h
diff --git a/Source/core/dom/ExecutionContextTask.h b/Source/core/dom/ExecutionContextTask.h
index e4afe526693536e3856a2cb1ba5581e3c82c4b5a..0ecbba6dca28a24b55090f7706eb01d39f1a3734 100644
--- a/Source/core/dom/ExecutionContextTask.h
+++ b/Source/core/dom/ExecutionContextTask.h
@@ -51,6 +51,8 @@ public:
class CallClosureTask FINAL : public ExecutionContextTask {
public:
+ // Do not use |create| other than in createCallClosureTask.
tkent 2014/07/10 07:55:13 createCallClosureTask -> createCrossThreadTask
hiroshige 2014/07/10 08:14:36 Done.
+ // See http://crbug.com/390851
static PassOwnPtr<CallClosureTask> create(const Closure& closure)
{
return adoptPtr(new CallClosureTask(closure));

Powered by Google App Engine
This is Rietveld 408576698