| Index: chrome/browser/background/background_contents_service.cc
|
| diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
|
| index 9c465c22842e097f933a129a82aff0bdcd137bbf..e28f2bf95a722a1df6ff3b2d95b66db18f466374 100644
|
| --- a/chrome/browser/background/background_contents_service.cc
|
| +++ b/chrome/browser/background/background_contents_service.cc
|
| @@ -263,10 +263,8 @@ int BackgroundContentsService::restart_delay_in_ms_ = 3000; // 3 seconds.
|
| BackgroundContentsService::BackgroundContentsService(
|
| Profile* profile, const CommandLine* command_line)
|
| : prefs_(NULL) {
|
| - // Don't load/store preferences if the proper switch is not enabled, or if
|
| - // the parent profile is incognito.
|
| - if (!profile->IsOffTheRecord() &&
|
| - !command_line->HasSwitch(switches::kDisableRestoreBackgroundContents))
|
| + // Don't load/store preferences if the parent profile is incognito.
|
| + if (!profile->IsOffTheRecord())
|
| prefs_ = profile->GetPrefs();
|
|
|
| // Listen for events to tell us when to load/unload persisted background
|
|
|