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

Unified Diff: chrome/browser/font_family_cache_unittest.cc

Issue 1102733002: Remove most occurences of PrefRegistrySyncable::UNSYNCABLE_PREF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs-add-reg-funcs
Patch Set: Created 5 years, 8 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/font_family_cache_unittest.cc
diff --git a/chrome/browser/font_family_cache_unittest.cc b/chrome/browser/font_family_cache_unittest.cc
index b7f8925deb27039218b382cf2984b5aa38fe9830..1911b0ba650684dfb12ed98c89bb8fa01e6606b9 100644
--- a/chrome/browser/font_family_cache_unittest.cc
+++ b/chrome/browser/font_family_cache_unittest.cc
@@ -43,14 +43,8 @@ TEST(FontFamilyCacheTest, Caching) {
std::string pref_name2(map_name + '.' + "adsf");
// Registers 2 preferences, and sets the first one.
- prefs->registry()->RegisterStringPref(
- pref_name.c_str(),
- std::string(),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
- prefs->registry()->RegisterStringPref(
- pref_name2.c_str(),
- std::string(),
- user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
+ prefs->registry()->RegisterStringPref(pref_name.c_str(), std::string());
+ prefs->registry()->RegisterStringPref(pref_name2.c_str(), std::string());
prefs->SetString(pref_name.c_str(), font1.c_str());
// Check that the right preference is returned.
« no previous file with comments | « chrome/browser/first_run/first_run.cc ('k') | chrome/browser/geolocation/geolocation_permission_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698