Index: third_party/WebKit/Source/bindings/core/v8/WindowProxy.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h |
index f42a069a37c75a683c9e6b2b8f4c576b8be76f6b..5d1c4ff5dacefa3fa9528c6e73de93dd187c5799 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.h |
@@ -237,7 +237,7 @@ class WindowProxy : public GarbageCollectedFinalized<WindowProxy> { |
v8::Isolate* GetIsolate() const { return isolate_; } |
Frame* GetFrame() const { return frame_.Get(); } |
-#if DCHECK_IS_ON() |
+#if DCHECK_IS_ON() || DVLOG_IS_ON() |
void DidAttachGlobalObject() { is_global_object_attached_ = true; } |
void DidDetachGlobalObject() { is_global_object_attached_ = false; } |
#endif |
@@ -245,7 +245,7 @@ class WindowProxy : public GarbageCollectedFinalized<WindowProxy> { |
private: |
v8::Isolate* const isolate_; |
const Member<Frame> frame_; |
-#if DCHECK_IS_ON() |
+#if DCHECK_IS_ON() || DVLOG_IS_ON() |
bool is_global_object_attached_ = false; |
#endif |