diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesisVoice.cpp')
-rw-r--r-- | chromium/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesisVoice.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesisVoice.cpp b/chromium/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesisVoice.cpp index a260dc8088a..9550f91e3a3 100644 --- a/chromium/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesisVoice.cpp +++ b/chromium/third_party/WebKit/Source/platform/speech/PlatformSpeechSynthesisVoice.cpp @@ -28,14 +28,14 @@ namespace WebCore { -PassRefPtr<PlatformSpeechSynthesisVoice> PlatformSpeechSynthesisVoice::create(const String& voiceURI, const String& name, const String& lang, bool localService, bool isDefault) +PlatformSpeechSynthesisVoice* PlatformSpeechSynthesisVoice::create(const String& voiceURI, const String& name, const String& lang, bool localService, bool isDefault) { - return adoptRef(new PlatformSpeechSynthesisVoice(voiceURI, name, lang, localService, isDefault)); + return new PlatformSpeechSynthesisVoice(voiceURI, name, lang, localService, isDefault); } -PassRefPtr<PlatformSpeechSynthesisVoice> PlatformSpeechSynthesisVoice::create() +PlatformSpeechSynthesisVoice* PlatformSpeechSynthesisVoice::create() { - return adoptRef(new PlatformSpeechSynthesisVoice()); + return new PlatformSpeechSynthesisVoice(); } PlatformSpeechSynthesisVoice::PlatformSpeechSynthesisVoice(const String& voiceURI, const String& name, const String& lang, bool localService, bool isDefault) |