Index: Source/core/speech/SpeechInputEvent.cpp |
diff --git a/Source/core/speech/SpeechInputEvent.cpp b/Source/core/speech/SpeechInputEvent.cpp |
index 8464a79d2b82cac607c64ec46ef2e5817c91e271..8d88763215696358abe5faa67378c62e1f4da3da 100644 |
--- a/Source/core/speech/SpeechInputEvent.cpp |
+++ b/Source/core/speech/SpeechInputEvent.cpp |
@@ -38,14 +38,14 @@ |
namespace WebCore { |
-PassRefPtrWillBeRawPtr<SpeechInputEvent> SpeechInputEvent::create() |
+PassRefPtr<SpeechInputEvent> SpeechInputEvent::create() |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new SpeechInputEvent); |
+ return adoptRef(new SpeechInputEvent); |
} |
-PassRefPtrWillBeRawPtr<SpeechInputEvent> SpeechInputEvent::create(const AtomicString& eventType, const SpeechInputResultArray& results) |
+PassRefPtr<SpeechInputEvent> SpeechInputEvent::create(const AtomicString& eventType, const SpeechInputResultArray& results) |
{ |
- return adoptRefWillBeRefCountedGarbageCollected(new SpeechInputEvent(eventType, results)); |
+ return adoptRef(new SpeechInputEvent(eventType, results)); |
} |
SpeechInputEvent::SpeechInputEvent() |