| Index: Source/platform/speech/PlatformSpeechSynthesisUtterance.cpp
|
| diff --git a/Source/platform/speech/PlatformSpeechSynthesisUtterance.cpp b/Source/platform/speech/PlatformSpeechSynthesisUtterance.cpp
|
| index 23f31c5d7a2e49aa74fc2b56552d38a8c09607f4..97e988a2f6b193f8f912fe990025d72da8a7481f 100644
|
| --- a/Source/platform/speech/PlatformSpeechSynthesisUtterance.cpp
|
| +++ b/Source/platform/speech/PlatformSpeechSynthesisUtterance.cpp
|
| @@ -28,9 +28,9 @@
|
|
|
| namespace WebCore {
|
|
|
| -PassRefPtr<PlatformSpeechSynthesisUtterance> PlatformSpeechSynthesisUtterance::create(PlatformSpeechSynthesisUtteranceClient* client)
|
| +PlatformSpeechSynthesisUtterance* PlatformSpeechSynthesisUtterance::create(PlatformSpeechSynthesisUtteranceClient* client)
|
| {
|
| - return adoptRef(new PlatformSpeechSynthesisUtterance(client));
|
| + return new PlatformSpeechSynthesisUtterance(client);
|
| }
|
|
|
| PlatformSpeechSynthesisUtterance::PlatformSpeechSynthesisUtterance(PlatformSpeechSynthesisUtteranceClient* client)
|
| @@ -41,4 +41,10 @@ PlatformSpeechSynthesisUtterance::PlatformSpeechSynthesisUtterance(PlatformSpeec
|
| {
|
| }
|
|
|
| +void PlatformSpeechSynthesisUtterance::trace(Visitor* visitor)
|
| +{
|
| + visitor->trace(m_client);
|
| + visitor->trace(m_voice);
|
| +}
|
| +
|
| } // namespace WebCore
|
|
|