Index: content/browser/geolocation/network_location_request.cc |
diff --git a/content/browser/geolocation/network_location_request.cc b/content/browser/geolocation/network_location_request.cc |
index deedc926ea1aa7b9786c1208b8fa13c55835a00e..14f29cad1ee09c8d3b9e3961d16f4f1f43fefe08 100644 |
--- a/content/browser/geolocation/network_location_request.cc |
+++ b/content/browser/geolocation/network_location_request.cc |
@@ -311,7 +311,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 resopnse type " |
<< response_value->GetType(); |
return false; |
@@ -332,8 +332,8 @@ bool ParseServerResponse(const std::string& response_body, |
} |
DCHECK(location_value); |
- if (!location_value->IsType(Value::TYPE_DICTIONARY)) { |
- if (!location_value->IsType(Value::TYPE_NULL)) { |
+ if (!location_value->IsDictionary()) { |
+ if (!location_value->IsNull()) { |
VLOG(1) << "ParseServerResponse() : Unexpected location type " |
<< location_value->GetType(); |
// If the network provider was unable to provide a position fix, it should |