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 de1987b17456bdd644d9fbabaa16dc02b86e4a7b..93e6198e6f57472d285e0d483c31ad89e339ba45 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp |
@@ -431,11 +431,6 @@ void WindowProxy::updateDocumentProperty() |
// TODO(jochen): Don't replace the accessor with a data value. We need a way to tell v8 that the accessor's return value won't change after this point. |
if (!v8CallBoolean(context->Global()->ForceSet(context, v8AtomicString(m_isolate, "document"), documentWrapper, static_cast<v8::PropertyAttribute>(v8::ReadOnly | v8::DontDelete)))) |
return; |
- |
- // 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_scriptState.get(), toInnerGlobalObject(context), V8HiddenValue::document(m_isolate), documentWrapper); |
} |
void WindowProxy::updateActivityLogger() |