Index: Source/modules/speech/SpeechSynthesisEvent.cpp |
diff --git a/Source/modules/speech/SpeechSynthesisEvent.cpp b/Source/modules/speech/SpeechSynthesisEvent.cpp |
index c35e4310fa675c340ea0f977d36419167c8d5a9b..bcc8d16eb06370ce6766a0f770e86980f408b6fb 100644 |
--- a/Source/modules/speech/SpeechSynthesisEvent.cpp |
+++ b/Source/modules/speech/SpeechSynthesisEvent.cpp |
@@ -28,14 +28,14 @@ |
namespace WebCore { |
-PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create() |
+PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create() |
{ |
- return adoptRef(new SpeechSynthesisEvent()); |
+ return adoptRefWillBeRefCountedGarbageCollected(new SpeechSynthesisEvent()); |
} |
-PassRefPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name) |
+PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name) |
{ |
- return adoptRef(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name)); |
+ return adoptRefWillBeRefCountedGarbageCollected(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name)); |
} |
SpeechSynthesisEvent::SpeechSynthesisEvent() |