Index: extensions/browser/app_window/app_window.cc |
diff --git a/extensions/browser/app_window/app_window.cc b/extensions/browser/app_window/app_window.cc |
index 19f9a9b1bf86cfcc885af54766e4b20d153b9b0c..f3d2b98a37d92fd51fdf2eec21ceb2bd973fddbe 100644 |
--- a/extensions/browser/app_window/app_window.cc |
+++ b/extensions/browser/app_window/app_window.cc |
@@ -927,7 +927,7 @@ content::ColorChooser* AppWindow::OpenColorChooser( |
return app_delegate_->ShowColorChooser(web_contents, initial_color); |
} |
-void AppWindow::RunFileChooser(WebContents* tab, |
+void AppWindow::RunFileChooser(content::RenderFrameHost* render_frame_host, |
const content::FileChooserParams& params) { |
if (window_type_is_panel()) { |
// Panels can't host a file dialog, abort. TODO(stevenjb): allow file |
@@ -937,7 +937,7 @@ void AppWindow::RunFileChooser(WebContents* tab, |
return; |
} |
- app_delegate_->RunFileChooser(tab, params); |
+ app_delegate_->RunFileChooser(render_frame_host, params); |
} |
bool AppWindow::IsPopupOrPanel(const WebContents* source) const { return true; } |