| Index: chrome/browser/extensions/extension_tts_apitest.cc
|
| diff --git a/chrome/browser/extensions/extension_tts_apitest.cc b/chrome/browser/extensions/extension_tts_apitest.cc
|
| index 71a1c0426a49b27dea7ab41b05b16a83276a8fce..e02923ec42a18d16a15f8dd6d7a2f30bc7d087e2 100644
|
| --- a/chrome/browser/extensions/extension_tts_apitest.cc
|
| +++ b/chrome/browser/extensions/extension_tts_apitest.cc
|
| @@ -63,7 +63,7 @@ class MockExtensionTtsPlatformImpl : public ExtensionTtsPlatformImpl {
|
| ptr_factory_.GetWeakPtr(),
|
| false, utterance_id, TTS_EVENT_END, utterance.size(),
|
| std::string()),
|
| - 0);
|
| + base::TimeDelta());
|
| }
|
|
|
| void SendEndEventWhenQueueNotEmpty(
|
| @@ -76,7 +76,7 @@ class MockExtensionTtsPlatformImpl : public ExtensionTtsPlatformImpl {
|
| &MockExtensionTtsPlatformImpl::SendEvent,
|
| ptr_factory_.GetWeakPtr(),
|
| true, utterance_id, TTS_EVENT_END, utterance.size(), std::string()),
|
| - 0);
|
| + base::TimeDelta());
|
| }
|
|
|
| void SendWordEvents(int utterance_id,
|
| @@ -91,7 +91,7 @@ class MockExtensionTtsPlatformImpl : public ExtensionTtsPlatformImpl {
|
| ptr_factory_.GetWeakPtr(),
|
| false, utterance_id, TTS_EVENT_WORD, i,
|
| std::string()),
|
| - 0);
|
| + base::TimeDelta());
|
| }
|
| }
|
| }
|
| @@ -108,7 +108,7 @@ class MockExtensionTtsPlatformImpl : public ExtensionTtsPlatformImpl {
|
| &MockExtensionTtsPlatformImpl::SendEvent,
|
| ptr_factory_.GetWeakPtr(),
|
| true, utterance_id, event_type, char_index, message),
|
| - 100);
|
| + base::TimeDelta::FromMilliseconds(100));
|
| return;
|
| }
|
|
|
|
|