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

Unified Diff: chrome/browser/protector/protected_prefs_watcher.cc

Issue 10173007: Revert 133740 - Fix homepage migration for users who never changed their settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/prefs/session_startup_pref_unittest.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/protector/protected_prefs_watcher.cc
===================================================================
--- chrome/browser/protector/protected_prefs_watcher.cc (revision 133745)
+++ chrome/browser/protector/protected_prefs_watcher.cc (working copy)
@@ -151,7 +151,8 @@
}
void ProtectedPrefsWatcher::EnsurePrefsMigration() {
- SessionStartupPref::MigrateIfNecessary(profile_->GetPrefs());
+ // Force SessionStartupPref migration, if necessary.
+ SessionStartupPref::GetStartupPref(profile_);
}
bool ProtectedPrefsWatcher::UpdateCachedPrefs() {
« no previous file with comments | « chrome/browser/prefs/session_startup_pref_unittest.cc ('k') | chrome/browser/ui/browser_init.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698