Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(125)

Unified Diff: chrome/browser/ui/views/extensions/extension_install_dialog_view.cc

Issue 14672021: Remove the extension install dialog black border. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
diff --git a/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc b/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
index f9aa70d6a4ed2038d0619b24d9870be2a0c7c853..536874bb124aafff024ce384d4d52117294c3828 100644
--- a/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
+++ b/chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
@@ -185,9 +185,9 @@ void ShowExtensionInstallDialogImpl(
ExtensionInstallPrompt::Delegate* delegate,
const ExtensionInstallPrompt::Prompt& prompt) {
DCHECK(content::BrowserThread::CurrentlyOn(content::BrowserThread::UI));
- views::Widget::CreateWindowWithParent(
+ views::DialogDelegate::CreateDialogWidget(
new ExtensionInstallDialogView(show_params.navigator, delegate, prompt),
- show_params.parent_window)->Show();
+ NULL, show_params.parent_window)->Show();
}
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698