| Index: Source/core/inspector/PageRuntimeAgent.cpp
|
| diff --git a/Source/core/inspector/PageRuntimeAgent.cpp b/Source/core/inspector/PageRuntimeAgent.cpp
|
| index 040c026fbbe997d1615aa17b956a05cfb83799ea..dd62995895e0fe4568f0ac1097fca8156e892f6e 100644
|
| --- a/Source/core/inspector/PageRuntimeAgent.cpp
|
| +++ b/Source/core/inspector/PageRuntimeAgent.cpp
|
| @@ -162,13 +162,13 @@ void PageRuntimeAgent::reportExecutionContextCreation()
|
| {
|
| Vector<std::pair<ScriptState*, SecurityOrigin*> > isolatedContexts;
|
| for (Frame* frame = m_inspectedPage->mainFrame(); frame; frame = frame->tree().traverseNext()) {
|
| - if (!frame->script()->canExecuteScripts(NotAboutToExecuteScript))
|
| + if (!frame->script().canExecuteScripts(NotAboutToExecuteScript))
|
| continue;
|
| String frameId = m_pageAgent->frameId(frame);
|
|
|
| ScriptState* scriptState = mainWorldScriptState(frame);
|
| notifyContextCreated(frameId, scriptState, 0, true);
|
| - frame->script()->collectIsolatedContexts(isolatedContexts);
|
| + frame->script().collectIsolatedContexts(isolatedContexts);
|
| if (isolatedContexts.isEmpty())
|
| continue;
|
| for (size_t i = 0; i< isolatedContexts.size(); i++)
|
|
|