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

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

Issue 1162813003: Oilpan: Rename DefaultTraceTrait to AdjustAndMarkTrait (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 | « 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/TraceTraits.h
diff --git a/Source/platform/heap/TraceTraits.h b/Source/platform/heap/TraceTraits.h
index 8feb55a76768750ac7d207a2261097c402a597ab..da206d84931746f586a4c5ea702f39a3e5284b50 100644
--- a/Source/platform/heap/TraceTraits.h
+++ b/Source/platform/heap/TraceTraits.h
@@ -29,10 +29,10 @@ template<typename T> class Member;
template<typename T> class TraceTrait;
template<typename T> class WeakMember;
-template<typename T, bool = NeedsAdjustAndMark<T>::value> class DefaultTraceTrait;
+template<typename T, bool = NeedsAdjustAndMark<T>::value> class AdjustAndMarkTrait;
template<typename T>
-class DefaultTraceTrait<T, false> {
+class AdjustAndMarkTrait<T, false> {
public:
template<typename VisitorDispatcher>
static void mark(VisitorDispatcher visitor, const T* t)
@@ -73,7 +73,7 @@ public:
};
template<typename T>
-class DefaultTraceTrait<T, true> {
+class AdjustAndMarkTrait<T, true> {
public:
template<typename VisitorDispatcher>
static void mark(VisitorDispatcher visitor, const T* self)
@@ -148,7 +148,7 @@ public:
template<typename VisitorDispatcher>
static void mark(VisitorDispatcher visitor, const T* t)
{
- DefaultTraceTrait<T>::mark(visitor, t);
+ AdjustAndMarkTrait<T>::mark(visitor, t);
}
};
@@ -186,7 +186,7 @@ struct TraceTrait<HeapVectorBacking<T, Traits>> {
template<typename VisitorDispatcher>
static void mark(VisitorDispatcher visitor, const Backing* backing)
{
- DefaultTraceTrait<Backing>::mark(visitor, backing);
+ AdjustAndMarkTrait<Backing>::mark(visitor, backing);
}
};
@@ -211,7 +211,7 @@ struct TraceTrait<HeapHashTableBacking<Table>> {
template<typename VisitorDispatcher>
static void mark(VisitorDispatcher visitor, const Backing* backing)
{
- DefaultTraceTrait<Backing>::mark(visitor, backing);
+ AdjustAndMarkTrait<Backing>::mark(visitor, backing);
}
};
« 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