| Index: Source/modules/speech/SpeechSynthesisEvent.cpp
|
| diff --git a/Source/modules/speech/SpeechSynthesisEvent.cpp b/Source/modules/speech/SpeechSynthesisEvent.cpp
|
| index 5082c8f4ee110e5ce5374167f5fe5a03e7626b7c..5b4d0f3344cf4b7a2263532562a369842a9b626b 100644
|
| --- a/Source/modules/speech/SpeechSynthesisEvent.cpp
|
| +++ b/Source/modules/speech/SpeechSynthesisEvent.cpp
|
| @@ -28,14 +28,14 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create()
|
| +SpeechSynthesisEvent* SpeechSynthesisEvent::create()
|
| {
|
| - return adoptRefWillBeNoop(new SpeechSynthesisEvent());
|
| + return new SpeechSynthesisEvent;
|
| }
|
|
|
| -PassRefPtrWillBeRawPtr<SpeechSynthesisEvent> SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
|
| +SpeechSynthesisEvent* SpeechSynthesisEvent::create(const AtomicString& type, unsigned long charIndex, float elapsedTime, const String& name)
|
| {
|
| - return adoptRefWillBeNoop(new SpeechSynthesisEvent(type, charIndex, elapsedTime, name));
|
| + return new SpeechSynthesisEvent(type, charIndex, elapsedTime, name);
|
| }
|
|
|
| SpeechSynthesisEvent::SpeechSynthesisEvent()
|
| @@ -52,9 +52,4 @@ SpeechSynthesisEvent::SpeechSynthesisEvent(const AtomicString& type, unsigned lo
|
| ScriptWrappable::init(this);
|
| }
|
|
|
| -void SpeechSynthesisEvent::trace(Visitor* visitor)
|
| -{
|
| - Event::trace(visitor);
|
| -}
|
| -
|
| } // namespace WebCore
|
|
|