Index: Source/modules/speech/SpeechRecognitionAlternative.cpp |
diff --git a/Source/modules/speech/SpeechRecognitionAlternative.cpp b/Source/modules/speech/SpeechRecognitionAlternative.cpp |
index a0cdf0ba2c2b7f53e09b650eada657cc22855257..ad99b54b15533ec53f8a85fe8e0bdaee26bfcb99 100644 |
--- a/Source/modules/speech/SpeechRecognitionAlternative.cpp |
+++ b/Source/modules/speech/SpeechRecognitionAlternative.cpp |
@@ -29,9 +29,9 @@ |
namespace WebCore { |
-PassRefPtrWillBeRawPtr<SpeechRecognitionAlternative> SpeechRecognitionAlternative::create(const String& transcript, double confidence) |
+SpeechRecognitionAlternative* SpeechRecognitionAlternative::create(const String& transcript, double confidence) |
{ |
- return adoptRefWillBeNoop(new SpeechRecognitionAlternative(transcript, confidence)); |
+ return new SpeechRecognitionAlternative(transcript, confidence); |
} |
SpeechRecognitionAlternative::SpeechRecognitionAlternative(const String& transcript, double confidence) |