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

Unified Diff: Source/heap/Visitor.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/HeapTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/heap/Visitor.h
diff --git a/Source/heap/Visitor.h b/Source/heap/Visitor.h
index 4ddaea3aa4f1f620cc347102b94bb200dd604cf4..3b86e9fa8409d739859eac0e7bd6b2bf7e2b4d60 100644
--- a/Source/heap/Visitor.h
+++ b/Source/heap/Visitor.h
@@ -235,7 +235,7 @@ public:
template<typename T>
void trace(const Member<T>& t)
{
- mark(t.raw());
+ mark(t.get());
}
// WeakMember version of the templated trace method. It doesn't keep
@@ -310,7 +310,7 @@ public:
template<typename T> inline bool isAlive(T obj) { return ObjectAliveTrait<T>::isAlive(this, obj); }
template<typename T> inline bool isAlive(const Member<T>& member)
{
- return isAlive(member.raw());
+ return isAlive(member.get());
}
#ifndef NDEBUG
@@ -398,7 +398,7 @@ template<typename T> bool ObjectAliveTrait<T>::isAlive(Visitor* visitor, T obj)
}
template<typename T> bool ObjectAliveTrait<Member<T> >::isAlive(Visitor* visitor, const Member<T>& obj)
{
- return visitor->isMarked(obj.raw());
+ return visitor->isMarked(obj.get());
}
}
« no previous file with comments | « Source/heap/HeapTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698