| Index: ash/aura/wm_window_aura.cc
|
| diff --git a/ash/aura/wm_window_aura.cc b/ash/aura/wm_window_aura.cc
|
| index 01797581a8a59830d6f442f43b8410cd0fa16893..e127dc8e9c1f2dc1086e3b78a091ce96c5a6bdae 100644
|
| --- a/ash/aura/wm_window_aura.cc
|
| +++ b/ash/aura/wm_window_aura.cc
|
| @@ -150,13 +150,9 @@ const WmWindow* WmWindowAura::GetRootWindow() const {
|
| return Get(window_->GetRootWindow());
|
| }
|
|
|
| -WmRootWindowController* WmWindowAura::GetRootWindowController() {
|
| +RootWindowController* WmWindowAura::GetRootWindowController() {
|
| aura::Window* root = window_->GetRootWindow();
|
| - if (!root)
|
| - return nullptr;
|
| -
|
| - RootWindowController* rwc = RootWindowController::ForWindow(root);
|
| - return rwc ? rwc->wm_root_window_controller() : nullptr;
|
| + return root ? RootWindowController::ForWindow(root) : nullptr;
|
| }
|
|
|
| WmShell* WmWindowAura::GetShell() const {
|
|
|