| Index: third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h b/third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h
|
| index 4b2f56586ef2a20ed9dcb64dc4c2de7709f10298..bd58304a7fae4bad93bd7488ed1154674d0873b1 100644
|
| --- a/third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h
|
| +++ b/third_party/WebKit/Source/platform/heap/MarkingVisitorImpl.h
|
| @@ -80,7 +80,7 @@ class MarkingVisitorImpl {
|
| const_cast<void*>(closure), iterationCallback, iterationDoneCallback);
|
| }
|
|
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| inline bool weakTableRegistered(const void* closure) {
|
| return toDerived()->heap().weakTableRegistered(closure);
|
| }
|
| @@ -110,7 +110,7 @@ class MarkingVisitorImpl {
|
| HeapObjectHeader* header = HeapObjectHeader::fromPayload(objectPointer);
|
| if (header->isMarked())
|
| return false;
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| toDerived()->markNoTracing(objectPointer);
|
| #else
|
| // Inline what the above markNoTracing() call expands to,
|
|
|