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

Unified Diff: Source/modules/speech/SpeechRecognitionEvent.h

Issue 884973003: Extend PlatformSpeechSynthesizerMock with an utterance queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: minor test tidying Created 5 years, 11 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.cpp ('k') | Source/modules/speech/SpeechRecognitionResult.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/speech/SpeechRecognitionEvent.h
diff --git a/Source/modules/speech/SpeechRecognitionEvent.h b/Source/modules/speech/SpeechRecognitionEvent.h
index 20a9008bdf66dc56cd08cbde80bbe01cbd71fa09..ed5018fccf24c4d9b6337d86cf3011d5e208ef38 100644
--- a/Source/modules/speech/SpeechRecognitionEvent.h
+++ b/Source/modules/speech/SpeechRecognitionEvent.h
@@ -47,11 +47,11 @@ public:
static PassRefPtrWillBeRawPtr<SpeechRecognitionEvent> createNoMatch(SpeechRecognitionResult*);
unsigned long resultIndex() const { return m_resultIndex; }
- SpeechRecognitionResultList* results() const { return m_results.get(); }
+ SpeechRecognitionResultList* results() const { return m_results; }
- // These two methods are here to satisfy the specification which requires these attrubutes to exist.
- Document* interpretation() { return 0; }
- Document* emma() { return 0; }
+ // These two methods are here to satisfy the specification which requires these attributes to exist.
+ Document* interpretation() { return nullptr; }
+ Document* emma() { return nullptr; }
// Event
virtual const AtomicString& interfaceName() const override;
« no previous file with comments | « Source/modules/speech/SpeechRecognition.cpp ('k') | Source/modules/speech/SpeechRecognitionResult.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698