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

Unified Diff: ash/common/accelerators/exit_warning_handler.cc

Issue 2390953004: WidgetDelegateView is its own contents view. (Closed)
Patch Set: another minor fix Created 4 years, 2 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
Index: ash/common/accelerators/exit_warning_handler.cc
diff --git a/ash/common/accelerators/exit_warning_handler.cc b/ash/common/accelerators/exit_warning_handler.cc
index d0c0a6187f9e010ed33b651faafb7fa2112a11d9..20237352f783636e30b46d56ba8806d7047ef1e4 100644
--- a/ash/common/accelerators/exit_warning_handler.cc
+++ b/ash/common/accelerators/exit_warning_handler.cc
@@ -166,7 +166,6 @@ void ExitWarningHandler::Show() {
root_window->GetRootWindowController()->ConfigureWidgetInitParamsForContainer(
widget_.get(), kShellWindowId_SettingBubbleContainer, &params);
widget_->Init(params);
- widget_->SetContentsView(delegate);
widget_->Show();
delegate->NotifyAccessibilityEvent(ui::AX_EVENT_ALERT, true);

Powered by Google App Engine
This is Rietveld 408576698