Index: ash/display/shared_display_edge_indicator.cc |
diff --git a/ash/display/shared_display_edge_indicator.cc b/ash/display/shared_display_edge_indicator.cc |
index f4f8aabb00d46af6776437983d8d8ec27f4584fc..1abbbf5a0cfc2601a712371399e998c5a38589f7 100644 |
--- a/ash/display/shared_display_edge_indicator.cc |
+++ b/ash/display/shared_display_edge_indicator.cc |
@@ -56,7 +56,7 @@ views::Widget* CreateWidget(const gfx::Rect& bounds, |
widget->SetVisibilityChangedAnimationsEnabled(false); |
widget->GetNativeWindow()->SetName("SharedEdgeIndicator"); |
widget->SetContentsView(contents_view); |
- gfx::Display display = gfx::Screen::GetDisplayMatching(bounds); |
+ gfx::Display display = Shell::GetScreen()->GetDisplayMatching(bounds); |
aura::Window* window = widget->GetNativeWindow(); |
aura::client::ScreenPositionClient* screen_position_client = |
aura::client::GetScreenPositionClient(window->GetRootWindow()); |