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

Unified Diff: chrome/browser/prefs/chrome_pref_service_unittest.cc

Issue 2664753002: Remove base::StringValue (Closed)
Patch Set: Rebase Created 3 years, 9 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: chrome/browser/prefs/chrome_pref_service_unittest.cc
diff --git a/chrome/browser/prefs/chrome_pref_service_unittest.cc b/chrome/browser/prefs/chrome_pref_service_unittest.cc
index da2f3e406a5c4b185d0499a8b9451382b003dcb5..1a181f4b595d4e3ef70af8fa314b268e78120741 100644
--- a/chrome/browser/prefs/chrome_pref_service_unittest.cc
+++ b/chrome/browser/prefs/chrome_pref_service_unittest.cc
@@ -59,14 +59,12 @@ class ChromePrefServiceWebKitPrefs : public ChromeRenderViewHostTestHarness {
// Set some (WebKit) user preferences.
sync_preferences::TestingPrefServiceSyncable* pref_services =
profile()->GetTestingPrefService();
- pref_services->SetUserPref(prefs::kDefaultCharset,
- new base::StringValue("utf8"));
+ pref_services->SetUserPref(prefs::kDefaultCharset, new base::Value("utf8"));
pref_services->SetUserPref(prefs::kWebKitDefaultFontSize,
new base::Value(20));
pref_services->SetUserPref(prefs::kWebKitTextAreasAreResizable,
new base::Value(false));
- pref_services->SetUserPref("webkit.webprefs.foo",
- new base::StringValue("bar"));
+ pref_services->SetUserPref("webkit.webprefs.foo", new base::Value("bar"));
}
};
« no previous file with comments | « chrome/browser/policy/policy_browsertest.cc ('k') | chrome/browser/prefs/profile_pref_store_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698