Commit 2c26fa6b authored by marja@chromium.org's avatar marja@chromium.org

Enable storing and restoring sessionStorage by default.

BUG=104292

Review URL: https://chromiumcodereview.appspot.com/10830216

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152072 0039d316-1c4b-4281-b951-d872f2087c98
parent 363589f5
......@@ -422,8 +422,8 @@ void ProfileImpl::DoFinalInit(bool is_new_profile) {
base::Bind(&EnsureReadmeFile, GetPath()),
base::TimeDelta::FromMilliseconds(create_readme_delay_ms));
if (CommandLine::ForCurrentProcess()->HasSwitch(
switches::kEnableRestoreSessionState)) {
if (!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableRestoreSessionState)) {
content::BrowserContext::GetDefaultDOMStorageContext(this)->
SetSaveSessionStorageOnDisk();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment