Index: third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp b/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp |
index d8c2cd101c1a4d38de65d939beee3e7c39063e5d..c4b5c9496557bccbdbfff4164953bd2e63811fdc 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/LocalWindowProxy.cpp |
@@ -93,7 +93,7 @@ void LocalWindowProxy::DisposeContext(Lifecycle next_status) { |
V8DOMWrapper::ClearNativeInfo(GetIsolate(), context->Global()); |
script_state_->DetachGlobalObject(); |
-#if DCHECK_IS_ON() |
+#if DCHECK_IS_ON() || DVLOG_IS_ON() |
DidDetachGlobalObject(); |
#endif |
} |
@@ -200,7 +200,7 @@ void LocalWindowProxy::CreateContext() { |
} |
CHECK(!context.IsEmpty()); |
-#if DCHECK_IS_ON() |
+#if DCHECK_IS_ON() || DVLOG_IS_ON() |
DidAttachGlobalObject(); |
#endif |