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() |