Index: content/shell/browser/shell_browser_context.cc |
diff --git a/content/shell/browser/shell_browser_context.cc b/content/shell/browser/shell_browser_context.cc |
index 4b01bf9dab73bc135d0797d757b409cc2ffcec04..f9dca3b23575cdde99810e682cf15b39680205a0 100644 |
--- a/content/shell/browser/shell_browser_context.cc |
+++ b/content/shell/browser/shell_browser_context.cc |
@@ -74,6 +74,7 @@ void ShellBrowserContext::InitWhileIOAllowed() { |
ignore_certificate_errors_ = true; |
if (cmd_line->HasSwitch(switches::kContentShellDataPath)) { |
path_ = cmd_line->GetSwitchValuePath(switches::kContentShellDataPath); |
+ BrowserContext::Initialize(this, path_); |
return; |
} |
#if defined(OS_WIN) |
@@ -98,6 +99,7 @@ void ShellBrowserContext::InitWhileIOAllowed() { |
if (!base::PathExists(path_)) |
base::CreateDirectory(path_); |
+ BrowserContext::Initialize(this, path_); |
} |
scoped_ptr<ZoomLevelDelegate> ShellBrowserContext::CreateZoomLevelDelegate( |