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

Unified Diff: Source/heap/Handle.h

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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/core/svg/SVGTRefElement.cpp ('k') | Source/heap/Heap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/heap/Handle.h
diff --git a/Source/heap/Handle.h b/Source/heap/Handle.h
index 3519cb6e6088d4610bdf1112b474e705de089058..b5828d49fbb3ee241475ee441c0ee6eaa98204a8 100644
--- a/Source/heap/Handle.h
+++ b/Source/heap/Handle.h
@@ -1350,7 +1350,7 @@ public:
template<typename T>
struct IteratorWitness {
typedef HandleWitness<T> Type;
- static void verify(Type witness, const T* collection) { witness.verify(collection); }
+ static void verifyWitness(Type witness, const T* collection) { witness.verifyWitness(collection); }
};
// This class is intentionally left undefined. The name is intended to
// be the error message you get when calling a method that needs to
@@ -1373,7 +1373,7 @@ class HandleWitness {
public:
HandleWitness(const Handle<const T>* handle) : m_handle(handle) { }
HandleWitness(const Handle<T>* handle) : m_handle(reinterpret_cast<const Handle<const T>*>(handle)) { }
- void verify(const T* pointer) { ASSERT((!pointer && !m_handle) || pointer == m_handle->raw()); }
+ void verifyWitness(const T* pointer) { ASSERT((!pointer && !m_handle) || pointer == m_handle->raw()); }
template<typename U>
explicit HandleWitness(const HandleWitness<U>& other) : m_handle(reinterpret_cast<const Handle<const T>*>(other.m_handle)) { }
private:
« no previous file with comments | « Source/core/svg/SVGTRefElement.cpp ('k') | Source/heap/Heap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698