Index: tools/json_schema_compiler/test/objects_unittest.cc |
diff --git a/tools/json_schema_compiler/test/objects_unittest.cc b/tools/json_schema_compiler/test/objects_unittest.cc |
index a24ca3b6117b44a3e02d6de538733b6c1331f702..6dc2c4548d2e8c70f96ef0e618d117b8eb903b6f 100644 |
--- a/tools/json_schema_compiler/test/objects_unittest.cc |
+++ b/tools/json_schema_compiler/test/objects_unittest.cc |
@@ -12,8 +12,8 @@ using namespace test::api::objects; |
TEST(JsonSchemaCompilerObjectsTest, ObjectParamParamsCreate) { |
{ |
scoped_ptr<base::ListValue> strings(new base::ListValue()); |
- strings->Append(base::Value::CreateStringValue("one")); |
- strings->Append(base::Value::CreateStringValue("two")); |
+ strings->Append(new base::StringValue("one")); |
+ strings->Append(new base::StringValue("two")); |
scoped_ptr<base::DictionaryValue> info_value(new base::DictionaryValue()); |
info_value->Set("strings", strings.release()); |
info_value->Set("integer", new base::FundamentalValue(5)); |
@@ -32,8 +32,8 @@ TEST(JsonSchemaCompilerObjectsTest, ObjectParamParamsCreate) { |
} |
{ |
scoped_ptr<base::ListValue> strings(new base::ListValue()); |
- strings->Append(base::Value::CreateStringValue("one")); |
- strings->Append(base::Value::CreateStringValue("two")); |
+ strings->Append(new base::StringValue("one")); |
+ strings->Append(new base::StringValue("two")); |
scoped_ptr<base::DictionaryValue> info_value(new base::DictionaryValue()); |
info_value->Set("strings", strings.release()); |
info_value->Set("integer", new base::FundamentalValue(5)); |