Index: chrome/browser/speech/tts_message_filter.cc |
diff --git a/chrome/browser/speech/tts_message_filter.cc b/chrome/browser/speech/tts_message_filter.cc |
index 755082907efd61718aabf5c5d8d61fbaa19cee19..8174e604c0925a905fdb995aec03bd96b75b02d7 100644 |
--- a/chrome/browser/speech/tts_message_filter.cc |
+++ b/chrome/browser/speech/tts_message_filter.cc |
@@ -120,12 +120,9 @@ void TtsMessageFilter::OnSpeak(const TtsUtteranceRequest& request) { |
utterance->set_lang(request.lang); |
utterance->set_voice_name(request.voice); |
utterance->set_can_enqueue(true); |
- |
- UtteranceContinuousParameters params; |
- params.rate = request.rate; |
- params.pitch = request.pitch; |
- params.volume = request.volume; |
- utterance->set_continuous_parameters(params); |
+ utterance->set_continuous_parameters(request.rate, |
+ request.pitch, |
+ request.volume); |
utterance->set_event_delegate(this); |