Index: chrome/browser/speech/extension_api/tts_extension_apitest.cc |
diff --git a/chrome/browser/speech/extension_api/tts_extension_apitest.cc b/chrome/browser/speech/extension_api/tts_extension_apitest.cc |
index e704f5de99850f24e9c241f031c5b20df04be32b..dc4dc90ff15ce7a1e23ca99d6af51c096571bea4 100644 |
--- a/chrome/browser/speech/extension_api/tts_extension_apitest.cc |
+++ b/chrome/browser/speech/extension_api/tts_extension_apitest.cc |
@@ -58,7 +58,7 @@ class MockTtsPlatformImpl : public TtsPlatformImpl { |
const std::string& lang, |
const VoiceData& voice, |
const UtteranceContinuousParameters& params) { |
- MessageLoop::current()->PostDelayedTask( |
+ base::MessageLoop::current()->PostDelayedTask( |
FROM_HERE, base::Bind( |
&MockTtsPlatformImpl::SendEvent, |
ptr_factory_.GetWeakPtr(), |
@@ -73,7 +73,7 @@ class MockTtsPlatformImpl : public TtsPlatformImpl { |
const std::string& lang, |
const VoiceData& voice, |
const UtteranceContinuousParameters& params) { |
- MessageLoop::current()->PostDelayedTask( |
+ base::MessageLoop::current()->PostDelayedTask( |
FROM_HERE, base::Bind( |
&MockTtsPlatformImpl::SendEvent, |
ptr_factory_.GetWeakPtr(), |
@@ -88,7 +88,7 @@ class MockTtsPlatformImpl : public TtsPlatformImpl { |
const UtteranceContinuousParameters& params) { |
for (int i = 0; i < static_cast<int>(utterance.size()); i++) { |
if (i == 0 || utterance[i - 1] == ' ') { |
- MessageLoop::current()->PostDelayedTask( |
+ base::MessageLoop::current()->PostDelayedTask( |
FROM_HERE, base::Bind( |
&MockTtsPlatformImpl::SendEvent, |
ptr_factory_.GetWeakPtr(), |
@@ -106,7 +106,7 @@ class MockTtsPlatformImpl : public TtsPlatformImpl { |
const std::string& message) { |
TtsController* controller = TtsController::GetInstance(); |
if (wait_for_non_empty_queue && controller->QueueSize() == 0) { |
- MessageLoop::current()->PostDelayedTask( |
+ base::MessageLoop::current()->PostDelayedTask( |
FROM_HERE, base::Bind( |
&MockTtsPlatformImpl::SendEvent, |
ptr_factory_.GetWeakPtr(), |