summaryrefslogtreecommitdiffstats
path: root/ash/shelf/shelf_window_watcher.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ash/shelf/shelf_window_watcher.cc')
-rw-r--r--ash/shelf/shelf_window_watcher.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ash/shelf/shelf_window_watcher.cc b/ash/shelf/shelf_window_watcher.cc
index 4146b50..80df891 100644
--- a/ash/shelf/shelf_window_watcher.cc
+++ b/ash/shelf/shelf_window_watcher.cc
@@ -120,11 +120,11 @@ ShelfWindowWatcher::ShelfWindowWatcher(
it != root_windows.end(); ++it)
OnRootWindowAdded(*it);
- Shell::GetScreen()->AddObserver(this);
+ gfx::Screen::GetScreen()->AddObserver(this);
}
ShelfWindowWatcher::~ShelfWindowWatcher() {
- Shell::GetScreen()->RemoveObserver(this);
+ gfx::Screen::GetScreen()->RemoveObserver(this);
}
void ShelfWindowWatcher::AddShelfItem(aura::Window* window) {