Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Unified Diff: Source/modules/speech/SpeechRecognitionAlternative.cpp

Issue 315133004: Enable Oilpan by default in modules/speech/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
« no previous file with comments | « Source/modules/speech/SpeechRecognitionAlternative.h ('k') | Source/modules/speech/SpeechRecognitionAlternative.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698