| Index: third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| index 2497aa406ecea4a222fadadf1715acb33ce44a05..acc4f517650b271c18a28ca8e425a3ee70fd5dd5 100644
|
| --- a/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebEmbeddedWorkerImpl.cpp
|
| @@ -254,19 +254,19 @@ void WebEmbeddedWorkerImpl::postMessageToPageInspector(const String& message)
|
| m_workerInspectorProxy->dispatchMessageFromWorker(message);
|
| }
|
|
|
| -void WebEmbeddedWorkerImpl::postTaskToLoader(std::unique_ptr<ExecutionContextTask> task)
|
| +void WebEmbeddedWorkerImpl::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 WebEmbeddedWorkerImpl::postTaskToWorkerGlobalScope(std::unique_ptr<ExecutionContextTask> task)
|
| +bool WebEmbeddedWorkerImpl::postTaskToWorkerGlobalScope(const WebTraceLocation& location, std::unique_ptr<ExecutionContextTask> task)
|
| {
|
| if (m_askedToTerminate || !m_workerThread)
|
| return false;
|
|
|
| - m_workerThread->postTask(BLINK_FROM_HERE, std::move(task));
|
| + m_workerThread->postTask(location, std::move(task));
|
| return !m_workerThread->terminated();
|
| }
|
|
|
|
|