Index: chrome/browser/ui/views/profiles/user_manager_view.cc |
diff --git a/chrome/browser/ui/views/profiles/user_manager_view.cc b/chrome/browser/ui/views/profiles/user_manager_view.cc |
index a494f6f1e348695c9cb3327ad4bf6bb88048b8f1..8f9374979c0ffe71f73b0f1eb923c6b13047f1fa 100644 |
--- a/chrome/browser/ui/views/profiles/user_manager_view.cc |
+++ b/chrome/browser/ui/views/profiles/user_manager_view.cc |
@@ -335,7 +335,9 @@ void UserManagerView::Init(Profile* system_profile, const GURL& url) { |
} |
} |
- DialogDelegate::CreateDialogWidgetWithBounds(this, NULL, NULL, bounds); |
+ views::Widget::InitParams params = |
+ GetDialogWidgetInitParams(this, nullptr, nullptr, bounds); |
+ (new views::Widget)->Init(params); |
// Since the User Manager can be the only top level window, we don't |
// want to accidentally quit all of Chrome if the user is just trying to |