Index: ash/desktop_background/desktop_background_controller.cc |
diff --git a/ash/desktop_background/desktop_background_controller.cc b/ash/desktop_background/desktop_background_controller.cc |
index a002f6bfea88ab45152de47a5371d5b092213160..b19e98fb3866a28ae118446b889e57da34306505 100644 |
--- a/ash/desktop_background/desktop_background_controller.cc |
+++ b/ash/desktop_background/desktop_background_controller.cc |
@@ -29,6 +29,7 @@ |
#include "ui/gfx/codec/jpeg_codec.h" |
#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/image/image_skia.h" |
+#include "ui/gfx/screen.h" |
#include "ui/views/widget/widget.h" |
using wallpaper::WallpaperResizer; |
@@ -162,7 +163,8 @@ void DesktopBackgroundController::OnRootWindowAdded(aura::Window* root_window) { |
gfx::Size DesktopBackgroundController::GetMaxDisplaySizeInNative() { |
int width = 0; |
int height = 0; |
- std::vector<gfx::Display> displays = Shell::GetScreen()->GetAllDisplays(); |
+ std::vector<gfx::Display> displays = |
+ gfx::Screen::GetScreen()->GetAllDisplays(); |
DisplayManager* display_manager = Shell::GetInstance()->display_manager(); |
for (std::vector<gfx::Display>::iterator iter = displays.begin(); |