| Index: content/browser/speech/speech_recognition_request.cc
|
| diff --git a/content/browser/speech/speech_recognition_request.cc b/content/browser/speech/speech_recognition_request.cc
|
| index 645e75de161ef313cda02199ec230c35af1d0577..f6fe94563c8f0796b11fe19a5bea344e083e7e2f 100644
|
| --- a/content/browser/speech/speech_recognition_request.cc
|
| +++ b/content/browser/speech/speech_recognition_request.cc
|
| @@ -45,7 +45,7 @@ bool ParseServerResponse(const std::string& response_body,
|
| return false;
|
| }
|
|
|
| - if (!response_value->IsType(Value::TYPE_DICTIONARY)) {
|
| + if (!response_value->IsDictionary()) {
|
| VLOG(1) << "ParseServerResponse: Unexpected response type "
|
| << response_value->GetType();
|
| return false;
|
| @@ -60,7 +60,7 @@ bool ParseServerResponse(const std::string& response_body,
|
| return false;
|
| }
|
| DCHECK(hypotheses_value);
|
| - if (!hypotheses_value->IsType(Value::TYPE_LIST)) {
|
| + if (!hypotheses_value->IsList()) {
|
| VLOG(1) << "ParseServerResponse: Unexpected hypotheses type "
|
| << hypotheses_value->GetType();
|
| return false;
|
| @@ -75,7 +75,7 @@ bool ParseServerResponse(const std::string& response_body,
|
| break;
|
| }
|
| DCHECK(hypothesis);
|
| - if (!hypothesis->IsType(Value::TYPE_DICTIONARY)) {
|
| + if (!hypothesis->IsDictionary()) {
|
| LOG(WARNING) << "ParseServerResponse: Unexpected value type "
|
| << hypothesis->GetType();
|
| break;
|
|
|