| Index: Source/web/InspectorFrontendClientImpl.cpp
|
| diff --git a/Source/web/InspectorFrontendClientImpl.cpp b/Source/web/InspectorFrontendClientImpl.cpp
|
| index 6203bb51ef105e9f86a2571ed8ee62537b91c17e..2493ff21a92fed83f1b479e82240cc47287edcac 100644
|
| --- a/Source/web/InspectorFrontendClientImpl.cpp
|
| +++ b/Source/web/InspectorFrontendClientImpl.cpp
|
| @@ -63,7 +63,7 @@ void InspectorFrontendClientImpl::windowObjectCleared()
|
| {
|
| v8::Isolate* isolate = v8::Isolate::GetCurrent();
|
| ASSERT(m_frontendPage->mainFrame());
|
| - ScriptState* scriptState = ScriptState::forMainWorld(m_frontendPage->mainFrame());
|
| + ScriptState* scriptState = ScriptState::forMainWorld(m_frontendPage->deprecatedLocalMainFrame());
|
| ScriptState::Scope scope(scriptState);
|
|
|
| if (m_frontendHost)
|
| @@ -73,7 +73,7 @@ void InspectorFrontendClientImpl::windowObjectCleared()
|
| v8::Handle<v8::Value> frontendHostObj = toV8(m_frontendHost.get(), global, scriptState->isolate());
|
|
|
| global->Set(v8::String::NewFromUtf8(isolate, "InspectorFrontendHost"), frontendHostObj);
|
| - ScriptController* scriptController = m_frontendPage->mainFrame() ? &m_frontendPage->mainFrame()->script() : 0;
|
| + ScriptController* scriptController = m_frontendPage->mainFrame() ? &m_frontendPage->deprecatedLocalMainFrame()->script() : 0;
|
| if (scriptController) {
|
| String installAdditionalAPI =
|
| "" // Wrap messages that go to embedder.
|
|
|