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

Unified Diff: ash/accelerators/exit_warning_handler.cc

Issue 2911393002: Nix GetRootWindowController, use RootWindowController::ForWindow. (Closed)
Patch Set: Sync and rebase AGAIN Created 3 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 | « ash/accelerators/accelerator_controller.cc ('k') | ash/app_list/app_list_presenter_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/exit_warning_handler.cc
diff --git a/ash/accelerators/exit_warning_handler.cc b/ash/accelerators/exit_warning_handler.cc
index 27989c07d3960dd493e093aec8012465654bc72b..747a41358c0f7cb7685e507860047fee7eefd826 100644
--- a/ash/accelerators/exit_warning_handler.cc
+++ b/ash/accelerators/exit_warning_handler.cc
@@ -153,7 +153,7 @@ void ExitWarningHandler::Show() {
params.bounds = bounds;
params.name = "ExitWarningWindow";
widget_.reset(new views::Widget);
- GetRootWindowController(root_window)
+ RootWindowController::ForWindow(root_window)
->ConfigureWidgetInitParamsForContainer(
widget_.get(), kShellWindowId_SettingBubbleContainer, &params);
widget_->Init(params);
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/app_list/app_list_presenter_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698