Index: third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
index 484a0d261365e1102efdf5bbd8d14a831c6b0d04..f799c5b2739c975a22c5b9e31d99ff5d4fd4f5af 100644 |
--- a/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebSharedWorkerImpl.cpp |
@@ -270,16 +270,16 @@ void WebSharedWorkerImpl::workerThreadTerminatedOnMainThread() |
// WorkerLoaderProxyProvider ----------------------------------------------------------- |
-void WebSharedWorkerImpl::postTaskToLoader(std::unique_ptr<ExecutionContextTask> task) |
+void WebSharedWorkerImpl::postTaskToLoader(const WebTraceLocation& location, std::unique_ptr<ExecutionContextTask> task) |
{ |
// TODO(hiroshige,yuryu): Make this not use ExecutionContextTask and |
// consider using m_mainThreadTaskRunners->getLoadingTaskRunner() instead. |
- m_mainFrame->frame()->document()->postTask(BLINK_FROM_HERE, std::move(task)); |
+ m_mainFrame->frame()->document()->postTask(location, std::move(task)); |
} |
-bool WebSharedWorkerImpl::postTaskToWorkerGlobalScope(std::unique_ptr<ExecutionContextTask> task) |
+bool WebSharedWorkerImpl::postTaskToWorkerGlobalScope(const WebTraceLocation& location, std::unique_ptr<ExecutionContextTask> task) |
{ |
- m_workerThread->postTask(BLINK_FROM_HERE, std::move(task)); |
+ m_workerThread->postTask(location, std::move(task)); |
return true; |
} |