Index: chrome/browser/ui/browser_live_tab_context.cc |
diff --git a/chrome/browser/ui/browser_live_tab_context.cc b/chrome/browser/ui/browser_live_tab_context.cc |
index 40892e261ed5cb7523550112b62e3e05a7a7459a..c6ee3f08ee44e5a9515d466e3e8873be39b409ab 100644 |
--- a/chrome/browser/ui/browser_live_tab_context.cc |
+++ b/chrome/browser/ui/browser_live_tab_context.cc |
@@ -108,11 +108,11 @@ sessions::LiveTabContext* BrowserLiveTabContext::Create( |
const std::string& app_name) { |
Browser* browser; |
if (app_name.empty()) { |
- browser = new Browser(Browser::CreateParams(profile)); |
+ browser = new Browser(Browser::CreateParams(profile, true)); |
} else { |
// Only trusted app popup windows should ever be restored. |
browser = new Browser(Browser::CreateParams::CreateForApp( |
- app_name, true /* trusted_source */, gfx::Rect(), profile)); |
+ app_name, true /* trusted_source */, gfx::Rect(), profile, true)); |
} |
if (browser) |
return browser->live_tab_context(); |