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

Unified Diff: components/prefs/command_line_pref_store.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
Index: components/prefs/command_line_pref_store.cc
diff --git a/components/prefs/command_line_pref_store.cc b/components/prefs/command_line_pref_store.cc
index f8a503e5441a6179af878a583f1c2643ac8bebdf..751d78b2651ca5f2c666b2918d45f024f809c5b0 100644
--- a/components/prefs/command_line_pref_store.cc
+++ b/components/prefs/command_line_pref_store.cc
@@ -60,7 +60,7 @@ void CommandLinePrefStore::ApplyIntegerSwitches(
continue;
}
SetValue(integer_switch[i].preference_path,
- base::MakeUnique<base::FundamentalValue>(int_value),
+ base::MakeUnique<base::Value>(int_value),
WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
}
}
@@ -72,7 +72,7 @@ void CommandLinePrefStore::ApplyBooleanSwitches(
for (size_t i = 0; i < size; ++i) {
if (command_line_->HasSwitch(boolean_switch_map[i].switch_name)) {
SetValue(boolean_switch_map[i].preference_path,
- base::MakeUnique<base::FundamentalValue>(
+ base::MakeUnique<base::Value>(
boolean_switch_map[i].set_value),
WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
}
« no previous file with comments | « components/policy/tools/generate_policy_source.py ('k') | components/prefs/in_memory_pref_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698