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

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

Issue 374583002: Replace CallClosureTask::create(bind()) with createCrossThreadTask() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Move createCallClosureTask to CrossThreadTask.h 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/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index 397330e780aedd694d8034a27b4c2cf531962d9f..5250b7be436d929bd822f5a8ef4908f368c33272 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -844,7 +844,7 @@ public:
// FIXME(crbug.com/305497): This should be removed once LocalDOMWindow is an ExecutionContext.
virtual void postTask(PassOwnPtr<ExecutionContextTask>) OVERRIDE; // Executes the task on context's thread asynchronously.
- void postInspectorTask(const Closure&);
+ void postInspectorTask(PassOwnPtr<ExecutionContextTask>);
virtual void tasksWereSuspended() OVERRIDE FINAL;
virtual void tasksWereResumed() OVERRIDE FINAL;

Powered by Google App Engine
This is Rietveld 408576698