Index: ash/shell/window_watcher.cc |
diff --git a/ash/shell/window_watcher.cc b/ash/shell/window_watcher.cc |
index cc991ac415ab96f52fc63c4347ad1f14f2965996..dd746999c53e11e60a1aaf8f4443b0c2029a4bbe 100644 |
--- a/ash/shell/window_watcher.cc |
+++ b/ash/shell/window_watcher.cc |
@@ -135,9 +135,9 @@ void WindowWatcher::OnWillRemoveWindow(aura::Window* window) { |
} |
void WindowWatcher::OnDisplayAdded(const display::Display& new_display) { |
- WmWindow* root = |
+ aura::Window* root = |
ShellPort::Get()->GetRootWindowForDisplayId(new_display.id()); |
- workspace_window_watcher_->RootWindowAdded(root->aura_window()); |
+ workspace_window_watcher_->RootWindowAdded(root); |
} |
void WindowWatcher::OnDisplayRemoved(const display::Display& old_display) { |