Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(327)

Unified Diff: Source/platform/heap/Heap.cpp

Issue 777173003: Oilpan: fix GC_PROFILE_MARKING compilation. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698