Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Unified Diff: tools/json_schema_compiler/test/additional_properties_unittest.cc

Issue 388963002: Get rid of the rest of CreateStringValue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « extensions/renderer/dom_activity_logger.cc ('k') | tools/json_schema_compiler/test/any_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 37ef4d76856e4663d43bdc8a609baeb92d930314..dc980af1c0de1c1b03e4370d5c9424c48dc4d867 100644
--- a/tools/json_schema_compiler/test/additional_properties_unittest.cc
+++ b/tools/json_schema_compiler/test/additional_properties_unittest.cc
@@ -11,7 +11,7 @@ TEST(JsonSchemaCompilerAdditionalPropertiesTest,
AdditionalPropertiesTypePopulate) {
{
scoped_ptr<base::ListValue> list_value(new base::ListValue());
- list_value->Append(base::Value::CreateStringValue("asdf"));
+ list_value->Append(new base::StringValue("asdf"));
list_value->Append(new base::FundamentalValue(4));
scoped_ptr<base::DictionaryValue> type_value(new base::DictionaryValue());
type_value->SetString("string", "value");
« no previous file with comments | « extensions/renderer/dom_activity_logger.cc ('k') | tools/json_schema_compiler/test/any_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698