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

Unified Diff: Source/heap/Heap.h

Issue 138203002: Rename a few Member and Persistent methods to make the transition (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 6 years, 11 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/heap/Handle.h ('k') | Source/heap/HeapTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/heap/Heap.h
diff --git a/Source/heap/Heap.h b/Source/heap/Heap.h
index b9162f624d365650cd2f6f6c167db6009fbafb64..945206ca0d4ad4a18707943d813f2d2de77299a5 100644
--- a/Source/heap/Heap.h
+++ b/Source/heap/Heap.h
@@ -1482,7 +1482,7 @@ template<bool markWeakMembersStrongly, typename T, typename Traits>
struct CollectionBackingTraceTrait<true, false, markWeakMembersStrongly, Member<T>, Traits> {
static void mark(WebCore::Visitor* visitor, Member<T> self)
{
- visitor->mark(self.raw());
+ visitor->mark(self.get());
}
};
@@ -1496,7 +1496,7 @@ struct CollectionBackingTraceTrait<false, true, true, WeakMember<T>, Traits> {
// backing only through the hash table. Reaching it in any other way
// makes it impossible to update the size and deleted slot count of the
// table, and exposes us to weak processing during iteration issues.
- visitor->mark(self.raw());
+ visitor->mark(self.get());
}
};
@@ -1573,7 +1573,7 @@ struct IfWeakMember {
template<typename T>
struct IfWeakMember<WeakMember<T> > {
- static bool isDead(Visitor* visitor, const WeakMember<T>& t) { return !visitor->isAlive(t.raw()); }
+ static bool isDead(Visitor* visitor, const WeakMember<T>& t) { return !visitor->isAlive(t.get()); }
};
template<typename K, typename V, typename HashFunctions, typename KeyTraits, typename ValueTraits>
« no previous file with comments | « Source/heap/Handle.h ('k') | Source/heap/HeapTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698