Index: chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc |
diff --git a/chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc b/chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc |
index cecada130e307bf506651105d1124619a6704c3b..aeeb9b13f041cb4423584c6413e195ed59a7c9c2 100644 |
--- a/chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc |
+++ b/chrome/browser/ui/views/extensions/extension_install_dialog_view_browsertest.cc |
@@ -161,16 +161,16 @@ ScrollbarTest::ScrollbarTest() |
} |
bool ScrollbarTest::IsScrollbarVisible() { |
- ExtensionInstallPrompt::ShowParams show_params(web_contents()); |
ExtensionInstallDialogView* dialog = new ExtensionInstallDialogView( |
- show_params.profile, |
- show_params.parent_web_contents, |
+ profile(), |
+ web_contents(), |
delegate(), |
prompt()); |
// Create the modal view around the install dialog view. |
views::Widget* modal = |
- CreateBrowserModalDialogViews(dialog, show_params.parent_window); |
+ CreateBrowserModalDialogViews(dialog, |
+ web_contents()->GetTopLevelNativeWindow()); |
modal->Show(); |
content::RunAllBlockingPoolTasksUntilIdle(); |