Index: tools/json_schema_compiler/test/functions_on_types_unittest.cc |
diff --git a/tools/json_schema_compiler/test/functions_on_types_unittest.cc b/tools/json_schema_compiler/test/functions_on_types_unittest.cc |
index 4aa77ed8bb3f1e3fc14f8130eca43d3ea45ff169..055fbc4276a315f44c1fb17262e0a76eeb439ccb 100644 |
--- a/tools/json_schema_compiler/test/functions_on_types_unittest.cc |
+++ b/tools/json_schema_compiler/test/functions_on_types_unittest.cc |
@@ -41,7 +41,7 @@ TEST(JsonSchemaCompilerFunctionsOnTypesTest, StorageAreaGetParamsCreate) { |
keys_object_value->SetInteger("integer", 5); |
keys_object_value->SetString("string", "string"); |
std::unique_ptr<base::ListValue> params_value(new base::ListValue()); |
- params_value->Append(keys_object_value->DeepCopy()); |
+ params_value->Append(keys_object_value->CreateDeepCopy()); |
std::unique_ptr<StorageArea::Get::Params> params( |
StorageArea::Get::Params::Create(*params_value)); |
ASSERT_TRUE(params); |