| Index: chrome/browser/protector/protected_prefs_watcher.cc
|
| diff --git a/chrome/browser/protector/protected_prefs_watcher.cc b/chrome/browser/protector/protected_prefs_watcher.cc
|
| index 4acbc8373bffbf405769c9375640cf09b6b50688..1f991769cce77e1ebfeffcc76e940113d193a02f 100644
|
| --- a/chrome/browser/protector/protected_prefs_watcher.cc
|
| +++ b/chrome/browser/protector/protected_prefs_watcher.cc
|
| @@ -151,8 +151,7 @@ void ProtectedPrefsWatcher::Observe(
|
| }
|
|
|
| void ProtectedPrefsWatcher::EnsurePrefsMigration() {
|
| - // Force SessionStartupPref migration, if necessary.
|
| - SessionStartupPref::GetStartupPref(profile_);
|
| + SessionStartupPref::MigrateIfNecessary(profile_->GetPrefs());
|
| }
|
|
|
| bool ProtectedPrefsWatcher::UpdateCachedPrefs() {
|
|
|