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

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

Issue 1120893003: Oilpan: Put all TraceTraits into TraceTraits.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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/Heap.h ('k') | Source/platform/heap/TraceTraits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/InlinedGlobalMarkingVisitor.h
diff --git a/Source/platform/heap/InlinedGlobalMarkingVisitor.h b/Source/platform/heap/InlinedGlobalMarkingVisitor.h
index 3124e58255b0abf8738b988a67fa316b444dd9cd..72c6d79e42bfc364ac3c5360761bb8601dc088db 100644
--- a/Source/platform/heap/InlinedGlobalMarkingVisitor.h
+++ b/Source/platform/heap/InlinedGlobalMarkingVisitor.h
@@ -79,23 +79,6 @@ private:
Visitor* m_visitor;
};
-template<typename T>
-void TraceTrait<T>::trace(Visitor* visitor, void* self)
-{
- if (visitor->isGlobalMarkingVisitor()) {
- // Switch to inlined global marking dispatch.
- static_cast<T*>(self)->trace(InlinedGlobalMarkingVisitor(visitor));
- } else {
- static_cast<T*>(self)->trace(visitor);
- }
-}
-
-template<typename T>
-void TraceTrait<T>::trace(InlinedGlobalMarkingVisitor visitor, void* self)
-{
- static_cast<T*>(self)->trace(visitor);
-}
-
inline void GarbageCollectedMixin::trace(InlinedGlobalMarkingVisitor)
{
}
« no previous file with comments | « Source/platform/heap/Heap.h ('k') | Source/platform/heap/TraceTraits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698