Index: chrome/browser/background_contents_service.cc |
diff --git a/chrome/browser/background_contents_service.cc b/chrome/browser/background_contents_service.cc |
index edd3219533a0db33bc3a334648e4510719f2f4f8..1f173eeb71b0de105af41ceb008dc217fb4c14d8 100644 |
--- a/chrome/browser/background_contents_service.cc |
+++ b/chrome/browser/background_contents_service.cc |
@@ -44,7 +44,7 @@ BackgroundContentsService::BackgroundContentsService( |
// Don't load/store preferences if the proper switch is not enabled, or if |
// the parent profile is off the record. |
if (!profile->IsOffTheRecord() && |
- command_line->HasSwitch(switches::kRestoreBackgroundContents)) |
+ !command_line->HasSwitch(switches::kDisableRestoreBackgroundContents)) |
prefs_ = profile->GetPrefs(); |
// Listen for events to tell us when to load/unload persisted background |