Index: third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
index 040942b275d81a5d1febf9b9e6476134aba1069a..e496f5a8a3829ebe9a9c02aac9197afcb7a4f669 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
@@ -92,6 +92,7 @@ v8::Local<v8::Object> WindowProxy::releaseGlobal() { |
} |
void WindowProxy::setGlobal(v8::Local<v8::Object> global) { |
+ CHECK(m_globalProxy.isEmpty()); |
m_globalProxy.set(m_isolate, global); |
// Initialize the window proxy now, to re-establish the connection between |