Index: ash/display/root_window_transformers.cc |
diff --git a/ash/display/root_window_transformers.cc b/ash/display/root_window_transformers.cc |
index 830cdba812dbfefa2019b45d8edfff4feea4c42b..4e3d139639e1280b57d918a18feab308bf007710 100644 |
--- a/ash/display/root_window_transformers.cc |
+++ b/ash/display/root_window_transformers.cc |
@@ -21,6 +21,7 @@ |
#include "ui/gfx/display.h" |
#include "ui/gfx/geometry/insets.h" |
#include "ui/gfx/geometry/size_conversions.h" |
+#include "ui/gfx/screen.h" |
#include "ui/gfx/transform.h" |
#include "ui/gfx/transform.h" |
@@ -279,7 +280,7 @@ class PartialBoundsRootWindowTransformer : public RootWindowTransformer { |
PartialBoundsRootWindowTransformer(const gfx::Rect& screen_bounds, |
const gfx::Display& display) { |
gfx::Display unified_display = |
- Shell::GetInstance()->GetScreen()->GetPrimaryDisplay(); |
+ gfx::Screen::GetScreen()->GetPrimaryDisplay(); |
DisplayInfo display_info = |
Shell::GetInstance()->display_manager()->GetDisplayInfo(display.id()); |
root_bounds_ = gfx::Rect(display_info.bounds_in_native().size()); |