Index: Source/platform/heap/TraceTraits.h |
diff --git a/Source/platform/heap/TraceTraits.h b/Source/platform/heap/TraceTraits.h |
index da206d84931746f586a4c5ea702f39a3e5284b50..6f8a3b82a79f6aa00097d1f3e180eb76eb8bb89e 100644 |
--- a/Source/platform/heap/TraceTraits.h |
+++ b/Source/platform/heap/TraceTraits.h |
@@ -157,7 +157,7 @@ template<typename T> class TraceTrait<const T> : public TraceTrait<T> { }; |
template<typename T> |
void TraceTrait<T>::trace(Visitor* visitor, void* self) |
{ |
- if (visitor->isGlobalMarkingVisitor()) { |
+ if (visitor->markingMode() == Visitor::GlobalMarking) { |
// Switch to inlined global marking dispatch. |
static_cast<T*>(self)->trace(InlinedGlobalMarkingVisitor(visitor)); |
} else { |