Index: tools/json_schema_compiler/test/callbacks_unittest.cc |
diff --git a/tools/json_schema_compiler/test/callbacks_unittest.cc b/tools/json_schema_compiler/test/callbacks_unittest.cc |
index a12584da2cf4cadfbd998fa16645788957d978b5..f213bb84b5b3845b4db26183b3bb5ad18b12aaab 100644 |
--- a/tools/json_schema_compiler/test/callbacks_unittest.cc |
+++ b/tools/json_schema_compiler/test/callbacks_unittest.cc |
@@ -11,7 +11,7 @@ using namespace test::api::callbacks; |
TEST(JsonSchemaCompilerCallbacksTest, ReturnsObjectResultCreate) { |
ReturnsObject::Results::SomeObject some_object; |
some_object.state = ENUMERATION_FOO; |
- scoped_ptr<base::ListValue> results = |
+ std::unique_ptr<base::ListValue> results = |
ReturnsObject::Results::Create(some_object); |
base::DictionaryValue* expected_dict = new base::DictionaryValue(); |
@@ -24,7 +24,7 @@ TEST(JsonSchemaCompilerCallbacksTest, ReturnsObjectResultCreate) { |
TEST(JsonSchemaCompilerCallbacksTest, ReturnsMultipleResultCreate) { |
ReturnsMultiple::Results::SomeObject some_object; |
some_object.state = ENUMERATION_FOO; |
- scoped_ptr<base::ListValue> results = |
+ std::unique_ptr<base::ListValue> results = |
ReturnsMultiple::Results::Create(5, some_object); |
base::DictionaryValue* expected_dict = new base::DictionaryValue(); |