Index: third_party/WebKit/Source/platform/heap/Visitor.cpp |
diff --git a/third_party/WebKit/Source/platform/heap/Visitor.cpp b/third_party/WebKit/Source/platform/heap/Visitor.cpp |
index c5779694bebe4f1494017059b5701ffba3d77785..804e1368ef1234def81995f735ac9d6689edf030 100644 |
--- a/third_party/WebKit/Source/platform/heap/Visitor.cpp |
+++ b/third_party/WebKit/Source/platform/heap/Visitor.cpp |
@@ -21,7 +21,7 @@ Visitor::Visitor(ThreadState* state, MarkingMode markingMode) |
// See ThreadState::runScheduledGC() why we need to already be in a |
// GCForbiddenScope before any safe point is entered. |
DCHECK(state->isGCForbidden()); |
-#if ENABLE(ASSERT) |
+#if DCHECK_IS_ON() |
DCHECK(state->checkThread()); |
#endif |
} |