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

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

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

Powered by Google App Engine
This is Rietveld 408576698