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

Unified Diff: Source/platform/heap/TraceTraits.h

Issue 1168683002: Oilpan: Introduce WeakProcessingVisitor (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months 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 | « Source/platform/heap/ThreadState.cpp ('k') | Source/platform/heap/Visitor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 {
« no previous file with comments | « Source/platform/heap/ThreadState.cpp ('k') | Source/platform/heap/Visitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698