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

Unified Diff: chrome/browser/ui/views/update_recommended_message_box.cc

Issue 15497003: Remove the update recommended dialog black border. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove debugging code. 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/update_recommended_message_box.cc
diff --git a/chrome/browser/ui/views/update_recommended_message_box.cc b/chrome/browser/ui/views/update_recommended_message_box.cc
index 9117c35d2e0f29cbae5089666ad33a84f136cd62..154fcb3d05bc95fcf8b4932ab434b259746a8421 100644
--- a/chrome/browser/ui/views/update_recommended_message_box.cc
+++ b/chrome/browser/ui/views/update_recommended_message_box.cc
@@ -22,8 +22,8 @@
// static
void UpdateRecommendedMessageBox::Show(gfx::NativeWindow parent_window) {
// When the window closes, it will delete itself.
- views::Widget::CreateWindowWithParent(new UpdateRecommendedMessageBox(),
- parent_window)->Show();
+ views::DialogDelegate::CreateDialogWidget(new UpdateRecommendedMessageBox(),
+ NULL, parent_window)->Show();
}
////////////////////////////////////////////////////////////////////////////////
« 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