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

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

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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 | « tools/json_schema_compiler/test/objects_unittest.cc ('k') | tools/win/DebugVisualizers/chrome.natvis » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/test/simple_api_unittest.cc
diff --git a/tools/json_schema_compiler/test/simple_api_unittest.cc b/tools/json_schema_compiler/test/simple_api_unittest.cc
index 995fea65268aaa36adc132db348ef3bdc9c99306..b79e3bc607ad3f5bfe0773a88c332099dcadcace 100644
--- a/tools/json_schema_compiler/test/simple_api_unittest.cc
+++ b/tools/json_schema_compiler/test/simple_api_unittest.cc
@@ -12,10 +12,10 @@ namespace {
static std::unique_ptr<base::DictionaryValue> CreateTestTypeDictionary() {
std::unique_ptr<base::DictionaryValue> value(new base::DictionaryValue());
- value->SetWithoutPathExpansion("number", new base::FundamentalValue(1.1));
- value->SetWithoutPathExpansion("integer", new base::FundamentalValue(4));
+ value->SetWithoutPathExpansion("number", new base::Value(1.1));
+ value->SetWithoutPathExpansion("integer", new base::Value(4));
value->SetWithoutPathExpansion("string", new base::StringValue("bling"));
- value->SetWithoutPathExpansion("boolean", new base::FundamentalValue(true));
+ value->SetWithoutPathExpansion("boolean", new base::Value(true));
return value;
}
« no previous file with comments | « tools/json_schema_compiler/test/objects_unittest.cc ('k') | tools/win/DebugVisualizers/chrome.natvis » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698