Index: Source/core/events/PopStateEvent.cpp |
diff --git a/Source/core/events/PopStateEvent.cpp b/Source/core/events/PopStateEvent.cpp |
index 73cad72be53f4e7c891145696303c4940d71b9b3..91dd5c5e372375bbd22580eb1d23b9d6ef165e7c 100644 |
--- a/Source/core/events/PopStateEvent.cpp |
+++ b/Source/core/events/PopStateEvent.cpp |
@@ -59,19 +59,19 @@ PopStateEvent::~PopStateEvent() |
{ |
} |
-PassRefPtr<PopStateEvent> PopStateEvent::create() |
+PassRefPtrWillBeRawPtr<PopStateEvent> PopStateEvent::create() |
{ |
- return adoptRef(new PopStateEvent); |
+ return adoptRefWillBeRefCountedGarbageCollected(new PopStateEvent); |
} |
-PassRefPtr<PopStateEvent> PopStateEvent::create(PassRefPtr<SerializedScriptValue> serializedState, PassRefPtrWillBeRawPtr<History> history) |
+PassRefPtrWillBeRawPtr<PopStateEvent> PopStateEvent::create(PassRefPtr<SerializedScriptValue> serializedState, PassRefPtrWillBeRawPtr<History> history) |
{ |
- return adoptRef(new PopStateEvent(serializedState, history)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new PopStateEvent(serializedState, history)); |
} |
-PassRefPtr<PopStateEvent> PopStateEvent::create(const AtomicString& type, const PopStateEventInit& initializer) |
+PassRefPtrWillBeRawPtr<PopStateEvent> PopStateEvent::create(const AtomicString& type, const PopStateEventInit& initializer) |
{ |
- return adoptRef(new PopStateEvent(type, initializer)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new PopStateEvent(type, initializer)); |
} |
const AtomicString& PopStateEvent::interfaceName() const |