Index: chrome/browser/extensions/extension_tts_api_chromeos.cc |
diff --git a/chrome/browser/extensions/extension_tts_api_chromeos.cc b/chrome/browser/extensions/extension_tts_api_chromeos.cc |
index b35d4608b6fc6215bd13b9f0fa8cca55b8c67809..3ee5d626a208794452c548c9517edab60e6202f1 100644 |
--- a/chrome/browser/extensions/extension_tts_api_chromeos.cc |
+++ b/chrome/browser/extensions/extension_tts_api_chromeos.cc |
@@ -105,7 +105,7 @@ bool ExtensionTtsPlatformImplChromeOs::Speak( |
} |
chromeos::SpeechSynthesizerClient* speech_synthesizer_client = |
- chromeos::DBusThreadManager::Get()->speech_synthesizer_client(); |
+ chromeos::DBusThreadManager::Get()->GetSpeechSynthesizerClient(); |
if (!options.empty()) |
speech_synthesizer_client->SetSpeakProperties(options); |
@@ -119,7 +119,7 @@ bool ExtensionTtsPlatformImplChromeOs::Speak( |
} |
bool ExtensionTtsPlatformImplChromeOs::StopSpeaking() { |
- chromeos::DBusThreadManager::Get()->speech_synthesizer_client()-> |
+ chromeos::DBusThreadManager::Get()->GetSpeechSynthesizerClient()-> |
StopSpeaking(); |
return true; |
} |
@@ -137,7 +137,7 @@ void ExtensionTtsPlatformImplChromeOs::PollUntilSpeechFinishes( |
return; |
} |
chromeos::SpeechSynthesizerClient* speech_synthesizer_client = |
- chromeos::DBusThreadManager::Get()->speech_synthesizer_client(); |
+ chromeos::DBusThreadManager::Get()->GetSpeechSynthesizerClient(); |
speech_synthesizer_client->IsSpeaking(base::Bind( |
&ExtensionTtsPlatformImplChromeOs::ContinuePollingIfSpeechIsNotFinished, |
weak_ptr_factory_.GetWeakPtr(), utterance_id)); |