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

Unified Diff: ios/chrome/browser/ui/settings/utils/pref_backed_boolean_unittest.mm

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
Index: ios/chrome/browser/ui/settings/utils/pref_backed_boolean_unittest.mm
diff --git a/ios/chrome/browser/ui/settings/utils/pref_backed_boolean_unittest.mm b/ios/chrome/browser/ui/settings/utils/pref_backed_boolean_unittest.mm
index 9f631ca343dca7ba3ba05898ab0427157071ec5a..6ca46bcf2045ea15786e609e13d56314e2550d4e 100644
--- a/ios/chrome/browser/ui/settings/utils/pref_backed_boolean_unittest.mm
+++ b/ios/chrome/browser/ui/settings/utils/pref_backed_boolean_unittest.mm
@@ -33,7 +33,7 @@ class PrefBackedBooleanTest : public PlatformTest {
bool GetPref() { return pref_service_.GetBoolean(kTestSwitchPref); }
void SetPref(bool value) {
- base::Value* booleanValue = new base::FundamentalValue(value);
+ base::Value* booleanValue = new base::Value(value);
pref_service_.SetUserPref(kTestSwitchPref, booleanValue);
}
« no previous file with comments | « ios/chrome/browser/metrics/ios_chrome_metrics_service_accessor_unittest.cc ('k') | ios/chrome/browser/ui/webui/crashes_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698