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

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

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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/objects_unittest.cc
diff --git a/tools/json_schema_compiler/test/objects_unittest.cc b/tools/json_schema_compiler/test/objects_unittest.cc
index e4f82bcb1bb0224063643dba9e9244965af7a0af..b00ea35497b8fbb99ec8b84362d4245afc25697a 100644
--- a/tools/json_schema_compiler/test/objects_unittest.cc
+++ b/tools/json_schema_compiler/test/objects_unittest.cc
@@ -25,8 +25,8 @@ TEST(JsonSchemaCompilerObjectsTest, ObjectParamParamsCreate) {
std::unique_ptr<base::DictionaryValue> info_value(
new base::DictionaryValue());
info_value->Set("strings", strings.release());
- info_value->Set("integer", new base::FundamentalValue(5));
- info_value->Set("boolean", new base::FundamentalValue(true));
+ info_value->Set("integer", new base::Value(5));
+ info_value->Set("boolean", new base::Value(true));
std::unique_ptr<base::ListValue> params_value(new base::ListValue());
params_value->Append(std::move(info_value));
@@ -46,7 +46,7 @@ TEST(JsonSchemaCompilerObjectsTest, ObjectParamParamsCreate) {
std::unique_ptr<base::DictionaryValue> info_value(
new base::DictionaryValue());
info_value->Set("strings", strings.release());
- info_value->Set("integer", new base::FundamentalValue(5));
+ info_value->Set("integer", new base::Value(5));
std::unique_ptr<base::ListValue> params_value(new base::ListValue());
params_value->Append(std::move(info_value));
« no previous file with comments | « tools/json_schema_compiler/test/idl_schemas_unittest.cc ('k') | tools/json_schema_compiler/test/simple_api_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698