Index: Source/platform/heap/Heap.cpp |
diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp |
index 9400168bd916afc3b7e629dea57e32e3d5e5f5d2..286a938816424c09c680e00756299851a9ed6217 100644 |
--- a/Source/platform/heap/Heap.cpp |
+++ b/Source/platform/heap/Heap.cpp |
@@ -2380,7 +2380,7 @@ const GCInfo* Heap::findGCInfo(Address address) |
#if ENABLE(GC_PROFILE_MARKING) |
void Heap::dumpPathToObjectOnNextGC(void* p) |
{ |
- static_cast<MarkingVisitor*>(s_markingVisitor)->dumpPathToObjectOnNextGC(p); |
+ static_cast<MarkingVisitor<GlobalMarking>*>(s_markingVisitor)->dumpPathToObjectOnNextGC(p); |
} |
String Heap::createBacktraceString() |
@@ -2548,7 +2548,7 @@ void Heap::collectGarbage(ThreadState::StackState stackState, ThreadState::GCTyp |
TRACE_EVENT_SCOPED_SAMPLING_STATE("blink_gc", "BlinkGC"); |
double timeStamp = WTF::currentTimeMS(); |
#if ENABLE(GC_PROFILE_MARKING) |
- static_cast<MarkingVisitor*>(s_markingVisitor)->objectGraph().clear(); |
+ static_cast<MarkingVisitor<GlobalMarking>*>(s_markingVisitor)->objectGraph().clear(); |
#endif |
// Disallow allocation during garbage collection (but not |
@@ -2590,7 +2590,7 @@ void Heap::collectGarbage(ThreadState::StackState stackState, ThreadState::GCTyp |
leaveGC(); |
#if ENABLE(GC_PROFILE_MARKING) |
- static_cast<MarkingVisitor*>(s_markingVisitor)->reportStats(); |
+ static_cast<MarkingVisitor<GlobalMarking>*>(s_markingVisitor)->reportStats(); |
#endif |
if (Platform::current()) { |