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

Unified Diff: Source/modules/speech/SpeechGrammarList.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/SpeechGrammarList.h ('k') | Source/modules/speech/SpeechGrammarList.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechGrammarList.cpp
diff --git a/Source/modules/speech/SpeechGrammarList.cpp b/Source/modules/speech/SpeechGrammarList.cpp
index 6a0140032710392121d5bdfa8c00b5b95535d409..6dfe69ee483197a8d7472c6ab3988c8f7f10ae27 100644
--- a/Source/modules/speech/SpeechGrammarList.cpp
+++ b/Source/modules/speech/SpeechGrammarList.cpp
@@ -31,11 +31,9 @@
namespace WebCore {
-DEFINE_GC_INFO(SpeechGrammarList);
-
-PassRefPtrWillBeRawPtr<SpeechGrammarList> SpeechGrammarList::create()
+PassRefPtr<SpeechGrammarList> SpeechGrammarList::create()
{
- return adoptRefWillBeNoop(new SpeechGrammarList);
+ return adoptRef(new SpeechGrammarList);
}
SpeechGrammar* SpeechGrammarList::item(unsigned long index) const
@@ -63,9 +61,4 @@
ScriptWrappable::init(this);
}
-void SpeechGrammarList::trace(Visitor* visitor)
-{
- visitor->trace(m_grammars);
-}
-
} // namespace WebCore
« no previous file with comments | « Source/modules/speech/SpeechGrammarList.h ('k') | Source/modules/speech/SpeechGrammarList.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698