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

Unified Diff: base/json/json_perftest.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
« no previous file with comments | « base/json/json_parser.cc ('k') | base/json/json_writer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/json/json_perftest.cc
diff --git a/base/json/json_perftest.cc b/base/json/json_perftest.cc
index 36b0d322d1406b09d8f1a6a7513fc0bf3b612c60..345f226a2cf30be090dc5ebfe484da0d5b6077c1 100644
--- a/base/json/json_perftest.cc
+++ b/base/json/json_perftest.cc
@@ -23,9 +23,9 @@ std::unique_ptr<DictionaryValue> GenerateDict() {
root->SetString("String", "Foo");
auto list = MakeUnique<ListValue>();
- list->Set(0, MakeUnique<FundamentalValue>(2.718));
- list->Set(1, MakeUnique<FundamentalValue>(false));
- list->Set(2, MakeUnique<FundamentalValue>(123));
+ list->Set(0, MakeUnique<Value>(2.718));
+ list->Set(1, MakeUnique<Value>(false));
+ list->Set(2, MakeUnique<Value>(123));
list->Set(3, MakeUnique<StringValue>("Bar"));
root->Set("List", std::move(list));
« no previous file with comments | « base/json/json_parser.cc ('k') | base/json/json_writer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698