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

Unified Diff: third_party/WebKit/Source/platform/heap/Heap.h

Issue 1884113002: Remove RawPtr.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix HeapTest.Bind expectation Created 4 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
Index: third_party/WebKit/Source/platform/heap/Heap.h
diff --git a/third_party/WebKit/Source/platform/heap/Heap.h b/third_party/WebKit/Source/platform/heap/Heap.h
index 0d268b05dcbec35ac8c3fee801d8f5733f39bdd4..08e55b4acd98c867547e12adce64833977bad09c 100644
--- a/third_party/WebKit/Source/platform/heap/Heap.h
+++ b/third_party/WebKit/Source/platform/heap/Heap.h
@@ -211,9 +211,9 @@ public:
return isHeapObjectAlive(member.get());
}
template<typename T>
- static inline bool isHeapObjectAlive(const RawPtr<T>& ptr)
+ static inline bool isHeapObjectAlive(const T*& ptr)
{
- return isHeapObjectAlive(ptr.get());
+ return isHeapObjectAlive(ptr);
}
// Is the finalizable GC object still alive, but slated for lazy sweeping?
« no previous file with comments | « third_party/WebKit/Source/platform/heap/Handle.h ('k') | third_party/WebKit/Source/platform/heap/HeapAllocator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698