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

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

Issue 330463002: Revert of Enable Oilpan by default in modules/speech/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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 c051e1732fda8e01fa754851ee4e98f3050a96f2..9a8ad3a5166f855d83a794d6b7e1f4c6ddb4e3f3 100644
--- a/Source/modules/speech/SpeechGrammar.cpp
+++ b/Source/modules/speech/SpeechGrammar.cpp
@@ -31,14 +31,14 @@
namespace WebCore {
-SpeechGrammar* SpeechGrammar::create()
+PassRefPtrWillBeRawPtr<SpeechGrammar> SpeechGrammar::create()
{
- return new SpeechGrammar;
+ return adoptRefWillBeNoop(new SpeechGrammar);
}
-SpeechGrammar* SpeechGrammar::create(const KURL& src, double weight)
+PassRefPtrWillBeRawPtr<SpeechGrammar> SpeechGrammar::create(const KURL& src, double weight)
{
- return new SpeechGrammar(src, weight);
+ return adoptRefWillBeNoop(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