Index: third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp |
diff --git a/third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp b/third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp |
index b77bd62a5a3f6b3c6fe135ecb234776417412ca5..8b7426d978c4638ffa02630d6099aaec3f0824c6 100644 |
--- a/third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp |
+++ b/third_party/WebKit/Source/modules/speech/SpeechSynthesisVoice.cpp |
@@ -27,19 +27,18 @@ |
namespace blink { |
-SpeechSynthesisVoice* SpeechSynthesisVoice::create(PlatformSpeechSynthesisVoice* voice) |
+SpeechSynthesisVoice* SpeechSynthesisVoice::create(PassRefPtr<PlatformSpeechSynthesisVoice> voice) |
{ |
return new SpeechSynthesisVoice(voice); |
} |
-SpeechSynthesisVoice::SpeechSynthesisVoice(PlatformSpeechSynthesisVoice* voice) |
+SpeechSynthesisVoice::SpeechSynthesisVoice(PassRefPtr<PlatformSpeechSynthesisVoice> voice) |
: m_platformVoice(voice) |
{ |
} |
-DEFINE_TRACE(SpeechSynthesisVoice) |
+SpeechSynthesisVoice::~SpeechSynthesisVoice() |
{ |
- visitor->trace(m_platformVoice); |
} |
} // namespace blink |