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

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

Issue 383263005: Remove more CreateIntegerValue calls. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/SetBoolean/SetInteger 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
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 ac0a0f2a66379aca8a4ed6474f46dfbc3db11758..37ef4d76856e4663d43bdc8a609baeb92d930314 100644
--- a/tools/json_schema_compiler/test/additional_properties_unittest.cc
+++ b/tools/json_schema_compiler/test/additional_properties_unittest.cc
@@ -12,7 +12,7 @@ TEST(JsonSchemaCompilerAdditionalPropertiesTest,
{
scoped_ptr<base::ListValue> list_value(new base::ListValue());
list_value->Append(base::Value::CreateStringValue("asdf"));
- list_value->Append(base::Value::CreateIntegerValue(4));
+ list_value->Append(new base::FundamentalValue(4));
scoped_ptr<base::DictionaryValue> type_value(new base::DictionaryValue());
type_value->SetString("string", "value");
type_value->SetInteger("other", 9);
« no previous file with comments | « content/browser/accessibility/accessibility_ui.cc ('k') | tools/json_schema_compiler/test/arrays_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698