| Index: ash/shell/window_watcher.cc
|
| diff --git a/ash/shell/window_watcher.cc b/ash/shell/window_watcher.cc
|
| index 7c72e27effaf394a09e624aed3f9fe7850122cc0..302a52328ab349443991dad006ae3efc551cb235 100644
|
| --- a/ash/shell/window_watcher.cc
|
| +++ b/ash/shell/window_watcher.cc
|
| @@ -36,7 +36,7 @@ class WindowWatcher::WorkspaceWindowWatcher : public aura::WindowObserver {
|
| window->RemoveObserver(watcher_);
|
| }
|
|
|
| - void RootWindowAdded(aura::RootWindow* root) {
|
| + void RootWindowAdded(aura::Window* root) {
|
| aura::Window* panel_container = ash::Shell::GetContainer(
|
| root,
|
| internal::kShellWindowId_PanelContainer);
|
| @@ -150,7 +150,7 @@ void WindowWatcher::OnDisplayBoundsChanged(const gfx::Display& display) {
|
| }
|
|
|
| void WindowWatcher::OnDisplayAdded(const gfx::Display& new_display) {
|
| - aura::RootWindow* root = Shell::GetInstance()->display_controller()->
|
| + aura::Window* root = Shell::GetInstance()->display_controller()->
|
| GetRootWindowForDisplayId(new_display.id());
|
| workspace_window_watcher_->RootWindowAdded(root);
|
| }
|
|
|