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

Unified Diff: Source/platform/heap/HeapTest.cpp

Issue 614373007: Oilpan: Remove adoptRefCountedGarbageCollected (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« Source/platform/heap/Handle.h ('K') | « Source/platform/heap/Heap.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/heap/HeapTest.cpp
diff --git a/Source/platform/heap/HeapTest.cpp b/Source/platform/heap/HeapTest.cpp
index e4a8cb8e7470466a342aed7437fe954f6d1d966b..61a9ebbc66a725edf50e606665e5cc4225b4d687 100644
--- a/Source/platform/heap/HeapTest.cpp
+++ b/Source/platform/heap/HeapTest.cpp
@@ -853,7 +853,7 @@ class RefCountedAndGarbageCollected2 : public HeapTestOtherSuperClass, public Re
public:
static RefCountedAndGarbageCollected2* create()
{
- return adoptRefCountedGarbageCollected(new RefCountedAndGarbageCollected2());
+ return new RefCountedAndGarbageCollected2();
}
~RefCountedAndGarbageCollected2()
@@ -1236,7 +1236,7 @@ class TransitionRefCounted : public RefCountedWillBeRefCountedGarbageCollected<T
public:
static PassRefPtrWillBeRawPtr<TransitionRefCounted> create()
{
- return adoptRefWillBeRefCountedGarbageCollected(new TransitionRefCounted());
+ return adoptRefWillBeNoop(new TransitionRefCounted());
}
~TransitionRefCounted()
« Source/platform/heap/Handle.h ('K') | « Source/platform/heap/Heap.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698