summaryrefslogtreecommitdiffstats
path: root/chrome/browser/background_contents_service.cc
diff options
context:
space:
mode:
authoratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-21 00:32:40 +0000
committeratwilson@chromium.org <atwilson@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-21 00:32:40 +0000
commitf9a0684728f020c4f08c87ed5a2349832381a23a (patch)
treed49db009de18651bf71edcc73dbc55f358995317 /chrome/browser/background_contents_service.cc
parent6ddc4148d9596208e2397e959eec676df7e236b5 (diff)
downloadchromium_src-f9a0684728f020c4f08c87ed5a2349832381a23a.zip
chromium_src-f9a0684728f020c4f08c87ed5a2349832381a23a.tar.gz
chromium_src-f9a0684728f020c4f08c87ed5a2349832381a23a.tar.bz2
Fix to change the sense (and name) of kRestoreBackgroundContents to be kDisableRestoreBackgroundContents
BUG=52793 TEST=none Review URL: http://codereview.chromium.org/3202004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56945 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/background_contents_service.cc')
-rw-r--r--chrome/browser/background_contents_service.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/background_contents_service.cc b/chrome/browser/background_contents_service.cc
index edd3219..1f173ee 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