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

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

Issue 163493003: Revert of Move speech module over to Oilpan. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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 ccb132aaff1e73720e81900160665bb94b8fb8a6..ba38c53bde22c77c1fb87651b87ed55b6f7ef95c 100644
--- a/Source/modules/speech/SpeechRecognitionAlternative.cpp
+++ b/Source/modules/speech/SpeechRecognitionAlternative.cpp
@@ -29,11 +29,9 @@
namespace WebCore {
-DEFINE_GC_INFO(SpeechRecognitionAlternative);
-
-PassRefPtrWillBeRawPtr<SpeechRecognitionAlternative> SpeechRecognitionAlternative::create(const String& transcript, double confidence)
+PassRefPtr<SpeechRecognitionAlternative> SpeechRecognitionAlternative::create(const String& transcript, double confidence)
{
- return adoptRefWillBeNoop(new SpeechRecognitionAlternative(transcript, confidence));
+ return adoptRef(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