| Index: third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
|
| diff --git a/third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp b/third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
|
| index e30b1a6734dbcd163647ee8935d6d97f53a3a115..d5feafba42b399a094f6bc8c4dcdefa02b01f29e 100644
|
| --- a/third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
|
| +++ b/third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
|
| @@ -51,14 +51,14 @@ PlatformSpeechSynthesizerMock::PlatformSpeechSynthesizerMock(
|
| PlatformSpeechSynthesizerMock::~PlatformSpeechSynthesizerMock() {}
|
|
|
| void PlatformSpeechSynthesizerMock::SpeakingErrorOccurred(TimerBase*) {
|
| - ASSERT(current_utterance_);
|
| + DCHECK(current_utterance_);
|
|
|
| Client()->SpeakingErrorOccurred(current_utterance_);
|
| SpeakNext();
|
| }
|
|
|
| void PlatformSpeechSynthesizerMock::SpeakingFinished(TimerBase*) {
|
| - ASSERT(current_utterance_);
|
| + DCHECK(current_utterance_);
|
| Client()->DidFinishSpeaking(current_utterance_);
|
| SpeakNext();
|
| }
|
| @@ -99,7 +99,7 @@ void PlatformSpeechSynthesizerMock::Speak(
|
| }
|
|
|
| void PlatformSpeechSynthesizerMock::SpeakNow() {
|
| - ASSERT(current_utterance_);
|
| + DCHECK(current_utterance_);
|
| Client()->DidStartSpeaking(current_utterance_);
|
|
|
| // Fire a fake word and then sentence boundary event.
|
|
|