| Index: Source/modules/speech/SpeechSynthesisUtterance.cpp
|
| diff --git a/Source/modules/speech/SpeechSynthesisUtterance.cpp b/Source/modules/speech/SpeechSynthesisUtterance.cpp
|
| index c6b79df2a47409ff600ebd5a1b59ee9122607a27..7031c0d90ce68e3ec1220111ff060a0fa6ae8ff8 100644
|
| --- a/Source/modules/speech/SpeechSynthesisUtterance.cpp
|
| +++ b/Source/modules/speech/SpeechSynthesisUtterance.cpp
|
| @@ -28,11 +28,9 @@
|
|
|
| namespace WebCore {
|
|
|
| -DEFINE_GC_INFO(SpeechSynthesisUtterance);
|
| -
|
| -PassRefPtrWillBeRawPtr<SpeechSynthesisUtterance> SpeechSynthesisUtterance::create(ExecutionContext* context, const String& text)
|
| +PassRefPtr<SpeechSynthesisUtterance> SpeechSynthesisUtterance::create(ExecutionContext* context, const String& text)
|
| {
|
| - return adoptRefCountedWillBeRefCountedGarbageCollected(new SpeechSynthesisUtterance(context, text));
|
| + return adoptRef(new SpeechSynthesisUtterance(context, text));
|
| }
|
|
|
| SpeechSynthesisUtterance::SpeechSynthesisUtterance(ExecutionContext* context, const String& text)
|
| @@ -73,9 +71,4 @@
|
| m_platformUtterance->setVoice(voice->platformVoice());
|
| }
|
|
|
| -void SpeechSynthesisUtterance::trace(Visitor* visitor)
|
| -{
|
| - visitor->trace(m_voice);
|
| -}
|
| -
|
| } // namespace WebCore
|
|
|