Index: Source/modules/speech/SpeechSynthesisVoice.cpp |
diff --git a/Source/modules/speech/SpeechSynthesisVoice.cpp b/Source/modules/speech/SpeechSynthesisVoice.cpp |
index b42514cd27ec8d3c2e207a4c6813d6a4e5244d22..83ec578d41cc5592ca3d3d0de35d6b7ce050fb2c 100644 |
--- a/Source/modules/speech/SpeechSynthesisVoice.cpp |
+++ b/Source/modules/speech/SpeechSynthesisVoice.cpp |
@@ -28,15 +28,20 @@ |
namespace WebCore { |
-SpeechSynthesisVoice* SpeechSynthesisVoice::create(PassRefPtr<PlatformSpeechSynthesisVoice> voice) |
+SpeechSynthesisVoice* SpeechSynthesisVoice::create(PlatformSpeechSynthesisVoice* voice) |
{ |
return new SpeechSynthesisVoice(voice); |
} |
-SpeechSynthesisVoice::SpeechSynthesisVoice(PassRefPtr<PlatformSpeechSynthesisVoice> voice) |
+SpeechSynthesisVoice::SpeechSynthesisVoice(PlatformSpeechSynthesisVoice* voice) |
: m_platformVoice(voice) |
{ |
ScriptWrappable::init(this); |
} |
+void SpeechSynthesisVoice::trace(Visitor* visitor) |
+{ |
+ visitor->trace(m_platformVoice); |
+} |
+ |
} // namespace WebCore |