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