Index: components/safe_json/safe_json_parser_android.cc |
diff --git a/components/safe_json/safe_json_parser_android.cc b/components/safe_json/safe_json_parser_android.cc |
index 3bfe628da6f8b08241b8577bb6ade5706644d3b5..0994ef5a91322a4bbc0dd7c6e2c8bf0250b3b078 100644 |
--- a/components/safe_json/safe_json_parser_android.cc |
+++ b/components/safe_json/safe_json_parser_android.cc |
@@ -35,11 +35,11 @@ void SafeJsonParserAndroid::Start() { |
void SafeJsonParserAndroid::OnSanitizationSuccess( |
const std::string& sanitized_json) { |
// Self-destruct at the end of this method. |
- scoped_ptr<SafeJsonParserAndroid> deleter(this); |
+ std::unique_ptr<SafeJsonParserAndroid> deleter(this); |
int error_code; |
std::string error; |
- scoped_ptr<base::Value> value = base::JSONReader::ReadAndReturnError( |
+ std::unique_ptr<base::Value> value = base::JSONReader::ReadAndReturnError( |
sanitized_json, base::JSON_PARSE_RFC, &error_code, &error); |
if (!value) { |