| 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 ed32a71ef22eb05e88e77013be2f458dc8192f76..9187501de1a71606078ab95b27f718e8bd3dc04f 100644
|
| --- a/third_party/WebKit/Source/platform/heap/Visitor.cpp
|
| +++ b/third_party/WebKit/Source/platform/heap/Visitor.cpp
|
| @@ -22,7 +22,7 @@ Visitor::Visitor(ThreadState* state, VisitorMarkingMode 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
|
| }
|
|
|