| 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 956b8601070ef732b858a642ec384566d2137526..6722528048a346b2d73681ea1793e617d0aba3db 100644
|
| --- a/third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
|
| +++ b/third_party/WebKit/Source/modules/speech/testing/PlatformSpeechSynthesizerMock.cpp
|
| @@ -121,11 +121,17 @@ void PlatformSpeechSynthesizerMock::cancel()
|
|
|
| void PlatformSpeechSynthesizerMock::pause()
|
| {
|
| + if (!m_currentUtterance)
|
| + return;
|
| +
|
| client()->didPauseSpeaking(m_currentUtterance);
|
| }
|
|
|
| void PlatformSpeechSynthesizerMock::resume()
|
| {
|
| + if (!m_currentUtterance)
|
| + return;
|
| +
|
| client()->didResumeSpeaking(m_currentUtterance);
|
| }
|
|
|
|
|