| Index: ash/screensaver/screensaver_view.cc
|
| diff --git a/ash/screensaver/screensaver_view.cc b/ash/screensaver/screensaver_view.cc
|
| index 3c89e66f58260746e3570d3e15db0597d4712919..9726855d0a88e85d3a5604be3fdd06af3c1a9fca 100644
|
| --- a/ash/screensaver/screensaver_view.cc
|
| +++ b/ash/screensaver/screensaver_view.cc
|
| @@ -129,7 +129,7 @@ void ScreensaverView::LoadScreensaver() {
|
| void ScreensaverView::ShowWindow() {
|
| aura::RootWindow* root_window = ash::Shell::GetPrimaryRootWindow();
|
| gfx::Rect screen_rect =
|
| - gfx::Screen::GetDisplayNearestWindow(root_window).bounds();
|
| + Shell::GetScreen()->GetDisplayNearestWindow(root_window).bounds();
|
|
|
| // We want to be the fullscreen topmost child of the root window.
|
| // There should be nothing ever really that should show up on top of us.
|
|
|