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

Unified Diff: components/prefs/testing_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/testing_pref_store.cc
diff --git a/components/prefs/testing_pref_store.cc b/components/prefs/testing_pref_store.cc
index 1e775824a6a9ba1b7a3e6b7673f4b7ea24a7eaff..2a728108919ddaf0261411054fbf4bd8937ee788 100644
--- a/components/prefs/testing_pref_store.cc
+++ b/components/prefs/testing_pref_store.cc
@@ -125,12 +125,12 @@ void TestingPrefStore::SetString(const std::string& key,
}
void TestingPrefStore::SetInteger(const std::string& key, int value) {
- SetValue(key, base::MakeUnique<base::FundamentalValue>(value),
+ SetValue(key, base::MakeUnique<base::Value>(value),
DEFAULT_PREF_WRITE_FLAGS);
}
void TestingPrefStore::SetBoolean(const std::string& key, bool value) {
- SetValue(key, base::MakeUnique<base::FundamentalValue>(value),
+ SetValue(key, base::MakeUnique<base::Value>(value),
DEFAULT_PREF_WRITE_FLAGS);
}
« no previous file with comments | « components/prefs/pref_value_store_unittest.cc ('k') | components/search_engines/default_search_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698