| Index: third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| index d318dd64d4739e303a95011f1114540a275ff7d1..4e3f025f9165ac695edcc05f530a2a9d47c55295 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp
|
| @@ -57,6 +57,7 @@
|
| #include "core/inspector/ConsoleMessage.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/inspector/InspectorTraceEvents.h"
|
| +#include "core/inspector/MainThreadDebugger.h"
|
| #include "core/loader/DocumentLoader.h"
|
| #include "core/loader/FrameLoader.h"
|
| #include "core/loader/FrameLoaderClient.h"
|
| @@ -99,6 +100,7 @@ DEFINE_TRACE(ScriptController)
|
| void ScriptController::clearForClose()
|
| {
|
| m_windowProxyManager->clearForClose();
|
| + MainThreadDebugger::instance()->didClearContextsForFrame(frame());
|
| }
|
|
|
| void ScriptController::updateSecurityOrigin(SecurityOrigin* origin)
|
| @@ -266,6 +268,7 @@ void ScriptController::clearWindowProxy()
|
| // V8 binding expects ScriptController::clearWindowProxy only be called
|
| // when a frame is loading a new page. This creates a new context for the new page.
|
| m_windowProxyManager->clearForNavigation();
|
| + MainThreadDebugger::instance()->didClearContextsForFrame(frame());
|
| }
|
|
|
| void ScriptController::setCaptureCallStackForUncaughtExceptions(v8::Isolate* isolate, bool value)
|
|
|