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

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

Issue 941403002: Revert of Add task location information to ExecutionContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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 5163357b3c2788aaadc7ff317176b24e26b6ef3e..44708fab42710dc90ede01ff4bdf57949c65f66c 100644
--- a/Source/core/dom/Document.cpp
+++ b/Source/core/dom/Document.cpp
@@ -4919,14 +4919,14 @@
}
// FIXME(crbug.com/305497): This should be removed after ExecutionContext-LocalDOMWindow migration.
-void Document::postTask(const WebTraceLocation& location, PassOwnPtr<ExecutionContextTask> task)
-{
- m_taskRunner->postTask(location, task);
-}
-
-void Document::postInspectorTask(const WebTraceLocation& location, PassOwnPtr<ExecutionContextTask> task)
-{
- m_taskRunner->postInspectorTask(location, task);
+void Document::postTask(PassOwnPtr<ExecutionContextTask> task)
+{
+ m_taskRunner->postTask(FROM_HERE, task);
+}
+
+void Document::postInspectorTask(PassOwnPtr<ExecutionContextTask> task)
+{
+ m_taskRunner->postInspectorTask(FROM_HERE, 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