Index: tools/json_schema_compiler/test/additional_properties_unittest.cc |
diff --git a/tools/json_schema_compiler/test/additional_properties_unittest.cc b/tools/json_schema_compiler/test/additional_properties_unittest.cc |
index f62729c46e29a5192dae720a970725fe234db8b8..5bf76dac3f085093e08d2bc4b2c23adbfa0672c7 100644 |
--- a/tools/json_schema_compiler/test/additional_properties_unittest.cc |
+++ b/tools/json_schema_compiler/test/additional_properties_unittest.cc |
@@ -21,7 +21,7 @@ TEST(JsonSchemaCompilerAdditionalPropertiesTest, |
new base::DictionaryValue()); |
type_value->SetString("string", "value"); |
type_value->SetInteger("other", 9); |
- type_value->Set("another", list_value.release()); |
+ type_value->Set("another", std::move(list_value)); |
std::unique_ptr<AdditionalPropertiesType> type( |
new AdditionalPropertiesType()); |
ASSERT_TRUE(AdditionalPropertiesType::Populate(*type_value, type.get())); |