Chromium Code Reviews| Index: Source/bindings/core/v8/WindowProxy.cpp |
| diff --git a/Source/bindings/core/v8/WindowProxy.cpp b/Source/bindings/core/v8/WindowProxy.cpp |
| index 53b1d042999cd0fc2e1f1b51a79faba5df0de5ce..a29e9e11923994d0007744597146d2acf19709e5 100644 |
| --- a/Source/bindings/core/v8/WindowProxy.cpp |
| +++ b/Source/bindings/core/v8/WindowProxy.cpp |
| @@ -32,6 +32,7 @@ |
| #include "bindings/core/v8/WindowProxy.h" |
| #include "bindings/core/v8/DOMWrapperWorld.h" |
| +#include "bindings/core/v8/MainThreadDebugger.h" |
| #include "bindings/core/v8/ScriptController.h" |
| #include "bindings/core/v8/V8Binding.h" |
| #include "bindings/core/v8/V8DOMActivityLogger.h" |
| @@ -254,6 +255,7 @@ bool WindowProxy::initialize() |
| } |
| if (m_frame->isLocalFrame()) { |
| LocalFrame* frame = toLocalFrame(m_frame); |
| + MainThreadDebugger::setContextDebugData(context, m_world->worldId() == MainWorldId ? "page" : "injected", frame); |
|
pfeldman
2015/07/06 12:35:50
Why do we have 3 instrumentation callbacks in a ro
|
| InspectorInstrumentation::didCreateScriptContext(frame, m_scriptState.get(), origin, m_world->worldId()); |
| frame->loader().client()->didCreateScriptContext(context, m_world->extensionGroup(), m_world->worldId()); |
| } |