Index: chrome/browser/extensions/api/tabs/tabs_api.cc |
diff --git a/chrome/browser/extensions/api/tabs/tabs_api.cc b/chrome/browser/extensions/api/tabs/tabs_api.cc |
index 6577b22188773cac3b14e0da90d9058f238f969a..23a67ab0d1bd846929f8a16064b2cfa967072d23 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -24,7 +24,6 @@ |
#include "base/strings/stringprintf.h" |
#include "base/strings/utf_string_conversions.h" |
#include "base/thread_task_runner_handle.h" |
-#include "chrome/browser/apps/scoped_keep_alive.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/extensions/api/tabs/tabs_constants.h" |
#include "chrome/browser/extensions/api/tabs/windows_util.h" |
@@ -592,9 +591,7 @@ bool WindowsCreateFunction::RunSync() { |
create_params.window_spec.bounds = window_bounds; |
create_params.focused = saw_focus_key && focused; |
AppWindow* app_window = new AppWindow( |
- window_profile, |
- new ChromeAppDelegate(make_scoped_ptr(new ScopedKeepAlive)), |
- extension()); |
+ window_profile, new ChromeAppDelegate(true), extension()); |
AshPanelContents* ash_panel_contents = new AshPanelContents(app_window); |
app_window->Init(urls[0], ash_panel_contents, create_params); |
WindowController* window_controller = |