Index: chrome/browser/speech/tts_controller.h |
diff --git a/chrome/browser/speech/tts_controller.h b/chrome/browser/speech/tts_controller.h |
index 8f32cd93c152b47125a7bc6751e541088fba41db..6b005c4aac9bb393e2bdecfb26783e9c633cc826 100644 |
--- a/chrome/browser/speech/tts_controller.h |
+++ b/chrome/browser/speech/tts_controller.h |
@@ -172,8 +172,12 @@ class Utterance { |
} |
TtsGenderType gender() const { return gender_; } |
- void set_continuous_parameters(const UtteranceContinuousParameters& params) { |
- continuous_parameters_ = params; |
+ void set_continuous_parameters(const double rate, |
+ const double pitch, |
+ const double volume) { |
+ continuous_parameters_.rate = rate; |
+ continuous_parameters_.pitch = pitch; |
+ continuous_parameters_.volume = volume; |
} |
const UtteranceContinuousParameters& continuous_parameters() { |
return continuous_parameters_; |