| Index: third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp b/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp
|
| index e5a36e2ddba616367ee443603c5721b24faefff2..edd0d76a25875b2df5306ccfdd84968fa697a04f 100644
|
| --- a/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/WorkerRuntimeAgent.cpp
|
| @@ -57,13 +57,13 @@ void WorkerRuntimeAgent::enable(ErrorString* errorString)
|
| return;
|
|
|
| InspectorRuntimeAgent::enable(errorString);
|
| - ScriptState* scriptState = m_workerGlobalScope->script()->scriptState();
|
| + ScriptState* scriptState = m_workerGlobalScope->scriptController()->scriptState();
|
| reportExecutionContextCreated(scriptState, "", m_workerGlobalScope->url(), "", "");
|
| }
|
|
|
| ScriptState* WorkerRuntimeAgent::defaultScriptState()
|
| {
|
| - return m_workerGlobalScope->script()->scriptState();
|
| + return m_workerGlobalScope->scriptController()->scriptState();
|
| }
|
|
|
| void WorkerRuntimeAgent::muteConsole()
|
|
|