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 67efea849bfeed031c4f9ef38225716557dd19bb..1d1750ab3b87e3175f49cbc16518d9fb9e1ff14f 100644 |
--- a/tools/json_schema_compiler/test/additional_properties_unittest.cc |
+++ b/tools/json_schema_compiler/test/additional_properties_unittest.cc |
@@ -14,8 +14,8 @@ TEST(JsonSchemaCompilerAdditionalPropertiesTest, |
AdditionalPropertiesTypePopulate) { |
{ |
std::unique_ptr<base::ListValue> list_value(new base::ListValue()); |
- list_value->Append(new base::StringValue("asdf")); |
- list_value->Append(new base::FundamentalValue(4)); |
+ list_value->AppendString("asdf"); |
+ list_value->AppendInteger(4); |
std::unique_ptr<base::DictionaryValue> type_value( |
new base::DictionaryValue()); |
type_value->SetString("string", "value"); |