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 5cef9ae17ea0f16e8d04ce08bb6d7a5e040d93e9..6ecd597899d6437f79cc2105f7a64e267e80505e 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
@@ -426,7 +426,7 @@ void WindowProxy::updateDocumentProperty() |
// We also stash a reference to the document on the inner global object so that |
// LocalDOMWindow objects we obtain from JavaScript references are guaranteed to have |
// live Document objects. |
- V8HiddenValue::setHiddenValue(m_isolate, toInnerGlobalObject(context), V8HiddenValue::document(m_isolate), documentWrapper); |
+ V8HiddenValue::setHiddenValue(m_scriptState.get(), toInnerGlobalObject(context), V8HiddenValue::document(m_isolate), documentWrapper); |
} |
void WindowProxy::updateActivityLogger() |