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 97743c9f94a187bf51cd9802f9b5119fafcaf8f3..0dd5bf37b9adbd67648d7a5b025e1ce7f1a3e6d3 100644 |
--- a/content/browser/speech/google_one_shot_remote_engine.cc |
+++ b/content/browser/speech/google_one_shot_remote_engine.cc |
@@ -49,8 +49,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; |
return false; |