| Index: ash/wm/coordinate_conversion.cc
|
| diff --git a/ash/wm/coordinate_conversion.cc b/ash/wm/coordinate_conversion.cc
|
| index 0033d3359bd6eca6ebef0d657974b028d4177c01..593f372ebe1c4ca0db95941ea4ed105fea53a695 100644
|
| --- a/ash/wm/coordinate_conversion.cc
|
| +++ b/ash/wm/coordinate_conversion.cc
|
| @@ -18,7 +18,8 @@ namespace ash {
|
| namespace wm {
|
|
|
| aura::RootWindow* GetRootWindowAt(const gfx::Point& point) {
|
| - const gfx::Display& display = gfx::Screen::GetDisplayNearestPoint(point);
|
| + const gfx::Display& display =
|
| + Shell::GetAshScreen()->GetDisplayNearestPoint(point);
|
| // TODO(yusukes): Move coordinate_conversion.cc and .h to ui/aura/ once
|
| // GetRootWindowForDisplayId() is moved to aura::Env.
|
| return Shell::GetInstance()->display_controller()->
|
| @@ -26,7 +27,7 @@ aura::RootWindow* GetRootWindowAt(const gfx::Point& point) {
|
| }
|
|
|
| aura::RootWindow* GetRootWindowMatching(const gfx::Rect& rect) {
|
| - const gfx::Display& display = gfx::Screen::GetDisplayMatching(rect);
|
| + const gfx::Display& display = Shell::GetAshScreen()->GetDisplayMatching(rect);
|
| return Shell::GetInstance()->display_controller()->
|
| GetRootWindowForDisplayId(display.id());
|
| }
|
|
|