| Index: third_party/WebKit/Source/platform/heap/TraceTraits.h
|
| diff --git a/third_party/WebKit/Source/platform/heap/TraceTraits.h b/third_party/WebKit/Source/platform/heap/TraceTraits.h
|
| index 49f5b511591df1f4dc123637084d5fdcb9c7320d..11d4d8ce2041aefda877d924eb39adb694c33b5a 100644
|
| --- a/third_party/WebKit/Source/platform/heap/TraceTraits.h
|
| +++ b/third_party/WebKit/Source/platform/heap/TraceTraits.h
|
| @@ -49,7 +49,7 @@ class AdjustAndMarkTrait<T, false> {
|
| public:
|
| template <typename VisitorDispatcher>
|
| static void mark(VisitorDispatcher visitor, const T* t) {
|
| -#if ENABLE(ASSERT)
|
| +#if DCHECK_IS_ON()
|
| assertObjectHasGCInfo(const_cast<T*>(t), GCInfoTrait<T>::index());
|
| #endif
|
| // Default mark method of the trait just calls the two-argument mark
|
|
|