| Index: Source/platform/heap/MarkingVisitorImpl.h
|
| diff --git a/Source/platform/heap/MarkingVisitorImpl.h b/Source/platform/heap/MarkingVisitorImpl.h
|
| index dd869fed5ffac1399cac675e10ead12144aa6f41..c3307e9ded759182d1e622db263c07ced0afd200 100644
|
| --- a/Source/platform/heap/MarkingVisitorImpl.h
|
| +++ b/Source/platform/heap/MarkingVisitorImpl.h
|
| @@ -39,7 +39,7 @@ protected:
|
| return;
|
|
|
| #if ENABLE(ASSERT)
|
| - toDerived()->checkMarkingAllowed();
|
| + ASSERT(ThreadState::current()->isInGC());
|
| ASSERT(Heap::findPageFromAddress(header));
|
| #endif
|
| header->mark();
|
|
|