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

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

Issue 315133004: Enable Oilpan by default in modules/speech/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unused Dictionary support for SpeechRecognitionError + fix Speech*Event create() types. 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
Index: Source/modules/speech/SpeechGrammarList.cpp
diff --git a/Source/modules/speech/SpeechGrammarList.cpp b/Source/modules/speech/SpeechGrammarList.cpp
index 2b412e5631c97e9dc413f67938ad5bb56517939a..d2dbf0fc2ec7a4fc1b1fdc25d178d6232ec5908d 100644
--- a/Source/modules/speech/SpeechGrammarList.cpp
+++ b/Source/modules/speech/SpeechGrammarList.cpp
@@ -31,9 +31,9 @@
namespace WebCore {
-PassRefPtrWillBeRawPtr<SpeechGrammarList> SpeechGrammarList::create()
+SpeechGrammarList* SpeechGrammarList::create()
{
- return adoptRefWillBeNoop(new SpeechGrammarList);
+ return new SpeechGrammarList;
}
SpeechGrammar* SpeechGrammarList::item(unsigned long index) const

Powered by Google App Engine
This is Rietveld 408576698