| Index: Source/core/inspector/InspectorPageAgent.cpp
|
| diff --git a/Source/core/inspector/InspectorPageAgent.cpp b/Source/core/inspector/InspectorPageAgent.cpp
|
| index 87e9550e4c3079d068623393367fdec48057c52d..96bddfdc7f7f912c17ecf4340aa4f245c1c1a14d 100644
|
| --- a/Source/core/inspector/InspectorPageAgent.cpp
|
| +++ b/Source/core/inspector/InspectorPageAgent.cpp
|
| @@ -802,6 +802,10 @@ void InspectorPageAgent::didClearWindowObjectInWorld(Frame* frame, DOMWrapperWor
|
| if (!m_frontend)
|
| return;
|
|
|
| + v8::HandleScope handleScope;
|
| + v8::Handle<v8::Context> v8Context = ScriptController::mainWorldContext(frame);
|
| + V8ScopedCompilation debuggerCompilation(v8Context, DevtoolsScriptCompilation);
|
| +
|
| RefPtr<InspectorObject> scripts = m_state->getObject(PageAgentState::pageAgentScriptsToEvaluateOnLoad);
|
| if (scripts) {
|
| InspectorObject::const_iterator end = scripts->end();
|
|
|