| Index: third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| index 2185d87bc680a646f447073786debe1b1184e5a5..0c46c5ec4e46d64f0b5f4ba31d005107219782b8 100644
|
| --- a/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| +++ b/third_party/WebKit/Source/core/workers/InProcessWorkerBase.cpp
|
| @@ -90,7 +90,7 @@ ContentSecurityPolicy* InProcessWorkerBase::contentSecurityPolicy()
|
|
|
| void InProcessWorkerBase::onResponse()
|
| {
|
| - InspectorInstrumentation::didReceiveScriptResponse(executionContext(), m_scriptLoader->identifier());
|
| + InspectorInstrumentation::didReceiveScriptResponse(getExecutionContext(), m_scriptLoader->identifier());
|
| }
|
|
|
| void InProcessWorkerBase::onFinished()
|
| @@ -99,8 +99,8 @@ void InProcessWorkerBase::onFinished()
|
| dispatchEvent(Event::createCancelable(EventTypeNames::error));
|
| } else {
|
| ASSERT(m_contextProxy);
|
| - m_contextProxy->startWorkerGlobalScope(m_scriptLoader->url(), executionContext()->userAgent(), m_scriptLoader->script());
|
| - InspectorInstrumentation::scriptImported(executionContext(), m_scriptLoader->identifier(), m_scriptLoader->script());
|
| + m_contextProxy->startWorkerGlobalScope(m_scriptLoader->url(), getExecutionContext()->userAgent(), m_scriptLoader->script());
|
| + InspectorInstrumentation::scriptImported(getExecutionContext(), m_scriptLoader->identifier(), m_scriptLoader->script());
|
| }
|
| m_contentSecurityPolicy = m_scriptLoader->releaseContentSecurityPolicy();
|
| m_scriptLoader = nullptr;
|
|
|