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

Unified Diff: Source/modules/speech/SpeechGrammar.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/SpeechGrammar.h ('k') | Source/modules/speech/SpeechGrammar.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechGrammar.cpp
diff --git a/Source/modules/speech/SpeechGrammar.cpp b/Source/modules/speech/SpeechGrammar.cpp
index eaf63b64625ebf10a79a2f798207a25b9e50bdc2..3b0992b047bf0f7511ba25304bfe2074e48de4eb 100644
--- a/Source/modules/speech/SpeechGrammar.cpp
+++ b/Source/modules/speech/SpeechGrammar.cpp
@@ -31,16 +31,14 @@
namespace WebCore {
-DEFINE_GC_INFO(SpeechGrammar);
-
-PassRefPtrWillBeRawPtr<SpeechGrammar> SpeechGrammar::create()
+PassRefPtr<SpeechGrammar> SpeechGrammar::create()
{
- return adoptRefWillBeNoop(new SpeechGrammar);
+ return adoptRef(new SpeechGrammar);
}
-PassRefPtrWillBeRawPtr<SpeechGrammar> SpeechGrammar::create(const KURL& src, double weight)
+PassRefPtr<SpeechGrammar> SpeechGrammar::create(const KURL& src, double weight)
{
- return adoptRefWillBeNoop(new SpeechGrammar(src, weight));
+ return adoptRef(new SpeechGrammar(src, weight));
}
void SpeechGrammar::setSrc(ExecutionContext* executionContext, const String& src)
« no previous file with comments | « Source/modules/speech/SpeechGrammar.h ('k') | Source/modules/speech/SpeechGrammar.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698