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

Unified Diff: Source/modules/speech/SpeechRecognition.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
« no previous file with comments | « Source/modules/speech/SpeechRecognition.h ('k') | Source/modules/speech/SpeechRecognition.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechRecognition.cpp
diff --git a/Source/modules/speech/SpeechRecognition.cpp b/Source/modules/speech/SpeechRecognition.cpp
index d81aa2c39bb27c27fc8c47816f62d219ded98328..364332ee89098792393ccd585a9bcdf32895dd6b 100644
--- a/Source/modules/speech/SpeechRecognition.cpp
+++ b/Source/modules/speech/SpeechRecognition.cpp
@@ -37,11 +37,9 @@
namespace WebCore {
-DEFINE_GC_INFO(SpeechRecognition);
-
-PassRefPtrWillBeRawPtr<SpeechRecognition> SpeechRecognition::create(ExecutionContext* context)
+PassRefPtr<SpeechRecognition> SpeechRecognition::create(ExecutionContext* context)
{
- RefPtrWillBeRawPtr<SpeechRecognition> speechRecognition(adoptRefCountedWillBeRefCountedGarbageCollected(new SpeechRecognition(context)));
+ RefPtr<SpeechRecognition> speechRecognition(adoptRef(new SpeechRecognition(context)));
speechRecognition->suspendIfNeeded();
return speechRecognition.release();
}
@@ -191,9 +189,4 @@
{
}
-void SpeechRecognition::trace(Visitor* visitor)
-{
- visitor->trace(m_grammars);
-}
-
} // namespace WebCore
« no previous file with comments | « Source/modules/speech/SpeechRecognition.h ('k') | Source/modules/speech/SpeechRecognition.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698