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

Unified Diff: Source/core/dom/Document.cpp

Issue 374583002: Replace CallClosureTask::create(bind()) with createCrossThreadTask() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/dom/ExecutionContext.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.cpp
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
index e7d9e5baf9560265192bb458dda3abefe1a47546..835b2adc5df7a54f2ff2fa7a75d09ac647347dc3 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -5052,9 +5052,9 @@ void Document::postTask(PassOwnPtr<ExecutionContextTask> task)
m_taskRunner->postTask(task);
}
-void Document::postInspectorTask(const Closure& closure)
+void Document::postInspectorTask(PassOwnPtr<ExecutionContextTask> task)
{
- m_taskRunner->postInspectorTask(CallClosureTask::create(closure));
+ m_taskRunner->postInspectorTask(task);
}
void Document::tasksWereSuspended()
« no previous file with comments | « Source/core/dom/Document.h ('k') | Source/core/dom/ExecutionContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698