Index: components/prefs/pref_service.cc |
diff --git a/components/prefs/pref_service.cc b/components/prefs/pref_service.cc |
index e909d58be7ece21396f3af7c518eb7ddcb35456c..f3a6f9e4899a5f25f7a6b3adae9810ab4585cb8d 100644 |
--- a/components/prefs/pref_service.cc |
+++ b/components/prefs/pref_service.cc |
@@ -389,15 +389,15 @@ void PrefService::Set(const std::string& path, const base::Value& value) { |
} |
void PrefService::SetBoolean(const std::string& path, bool value) { |
- SetUserPrefValue(path, new base::FundamentalValue(value)); |
+ SetUserPrefValue(path, new base::Value(value)); |
} |
void PrefService::SetInteger(const std::string& path, int value) { |
- SetUserPrefValue(path, new base::FundamentalValue(value)); |
+ SetUserPrefValue(path, new base::Value(value)); |
} |
void PrefService::SetDouble(const std::string& path, double value) { |
- SetUserPrefValue(path, new base::FundamentalValue(value)); |
+ SetUserPrefValue(path, new base::Value(value)); |
} |
void PrefService::SetString(const std::string& path, const std::string& value) { |