| 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 7471c17160eaade1f2a7d95d4bce8a3e836ea1fe..933ce5f7d038f830015726305f0dabb37d620045 100644
|
| --- a/content/browser/geolocation/network_location_request.cc
|
| +++ b/content/browser/geolocation/network_location_request.cc
|
| @@ -360,8 +360,9 @@ bool ParseServerResponse(const std::string& response_body,
|
|
|
| // Parse the response, ignoring comments.
|
| std::string error_msg;
|
| - scoped_ptr<base::Value> response_value = base::JSONReader::ReadAndReturnError(
|
| - response_body, base::JSON_PARSE_RFC, NULL, &error_msg);
|
| + std::unique_ptr<base::Value> response_value =
|
| + base::JSONReader::ReadAndReturnError(response_body, base::JSON_PARSE_RFC,
|
| + NULL, &error_msg);
|
| if (response_value == NULL) {
|
| LOG(WARNING) << "ParseServerResponse() : JSONReader failed : "
|
| << error_msg;
|
|
|