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

Unified Diff: chrome/browser/ui/views/download/download_in_progress_dialog_view.cc

Issue 15060010: Remove the download in progress 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 | « chrome/browser/ui/views/download/download_in_progress_dialog_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/download/download_in_progress_dialog_view.cc
diff --git a/chrome/browser/ui/views/download/download_in_progress_dialog_view.cc b/chrome/browser/ui/views/download/download_in_progress_dialog_view.cc
index f898f26b7c56dd5bc4eb12edb767a1884bb32210..bcf6c5bf2ded81dcdc5a8f38b21997d2a64b0a92 100644
--- a/chrome/browser/ui/views/download/download_in_progress_dialog_view.cc
+++ b/chrome/browser/ui/views/download/download_in_progress_dialog_view.cc
@@ -22,10 +22,10 @@
// static
void DownloadInProgressDialogView::Show(Browser* browser,
- gfx::NativeWindow parent_window) {
+ gfx::NativeWindow parent) {
DownloadInProgressDialogView* window =
new DownloadInProgressDialogView(browser);
- views::Widget::CreateWindowWithParent(window, parent_window)->Show();
+ views::DialogDelegate::CreateDialogWidget(window, NULL, parent)->Show();
}
DownloadInProgressDialogView::DownloadInProgressDialogView(Browser* browser)
« no previous file with comments | « chrome/browser/ui/views/download/download_in_progress_dialog_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698