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 de58f03aa8f655d6e02ce3125a451d4fc13f546d..170def8b1e1d5874160c9bd07f0251e03e5e76da 100644 |
--- a/chrome/browser/extensions/api/tabs/tabs_api.cc |
+++ b/chrome/browser/extensions/api/tabs/tabs_api.cc |
@@ -593,7 +593,8 @@ bool WindowsCreateFunction::RunSync() { |
AppWindow* app_window = new AppWindow( |
window_profile, new ChromeAppDelegate(true), extension()); |
AshPanelContents* ash_panel_contents = new AshPanelContents(app_window); |
- app_window->Init(urls[0], ash_panel_contents, create_params); |
+ app_window->Init(urls[0], ash_panel_contents, render_frame_host(), |
+ create_params); |
WindowController* window_controller = |
WindowControllerList::GetInstance()->FindWindowById( |
app_window->session_id().id()); |