Index: Source/platform/speech/PlatformSpeechSynthesisVoice.cpp |
diff --git a/Source/platform/speech/PlatformSpeechSynthesisVoice.cpp b/Source/platform/speech/PlatformSpeechSynthesisVoice.cpp |
index a260dc8088a840422242b05b0c1964be00bb22e9..9550f91e3a3a316c1a5091f8884236674928981f 100644 |
--- a/Source/platform/speech/PlatformSpeechSynthesisVoice.cpp |
+++ b/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) |