| Index: content/browser/speech/google_one_shot_remote_engine.cc
|
| diff --git a/content/browser/speech/google_one_shot_remote_engine.cc b/content/browser/speech/google_one_shot_remote_engine.cc
|
| index d56986b7282819e64bf27fe8de3d79292fcb500b..3c2e2921342719cb2df6c05c1d2acfe95f84a00b 100644
|
| --- a/content/browser/speech/google_one_shot_remote_engine.cc
|
| +++ b/content/browser/speech/google_one_shot_remote_engine.cc
|
| @@ -110,7 +110,7 @@ bool ParseServerResponse(const std::string& response_body,
|
| // final result, consisting of one fragment (with one or more hypotheses).
|
| size_t index = 0;
|
| for (; index < hypotheses_list->GetSize(); ++index) {
|
| - Value* hypothesis = NULL;
|
| + const Value* hypothesis = NULL;
|
| if (!hypotheses_list->Get(index, &hypothesis)) {
|
| LOG(WARNING) << "ParseServerResponse: Unable to read hypothesis value.";
|
| break;
|
| @@ -123,7 +123,7 @@ bool ParseServerResponse(const std::string& response_body,
|
| }
|
|
|
| const DictionaryValue* hypothesis_value =
|
| - static_cast<DictionaryValue*>(hypothesis);
|
| + static_cast<const DictionaryValue*>(hypothesis);
|
| string16 utterance;
|
|
|
| if (!hypothesis_value->GetString(kUtteranceString, &utterance)) {
|
|
|