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

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

Issue 390233003: Decrement CreateDoubleValue count (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: tools/json_schema_compiler/test/arrays_unittest.cc
diff --git a/tools/json_schema_compiler/test/arrays_unittest.cc b/tools/json_schema_compiler/test/arrays_unittest.cc
index 8d249b41c5d5cdcfdc62cc03f14321da9db49e35..79ebfb2360e8b1d75a273432d323d342742f35a0 100644
--- a/tools/json_schema_compiler/test/arrays_unittest.cc
+++ b/tools/json_schema_compiler/test/arrays_unittest.cc
@@ -27,7 +27,7 @@ static scoped_ptr<base::DictionaryValue> CreateBasicArrayTypeDictionary() {
booleans_value->Append(new base::FundamentalValue(false));
booleans_value->Append(new base::FundamentalValue(true));
base::ListValue* numbers_value = new base::ListValue();
- numbers_value->Append(base::Value::CreateDoubleValue(6.1));
+ numbers_value->Append(new base::FundamentalValue(6.1));
value->Set("numbers", numbers_value);
value->Set("booleans", booleans_value);
value->Set("strings", strings_value);
« no previous file with comments | « components/pref_registry/pref_registry_syncable.cc ('k') | tools/json_schema_compiler/test/crossref_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698