| Index: ash/display/screen_ash.cc
|
| diff --git a/ash/display/screen_ash.cc b/ash/display/screen_ash.cc
|
| index 7ec4f86eec0851c4f93e5b756596ac6e654de501..b2b336cb87e4a1c09e46b7f43d405f97e40ddced 100644
|
| --- a/ash/display/screen_ash.cc
|
| +++ b/ash/display/screen_ash.cc
|
| @@ -160,7 +160,7 @@ display::Display ScreenAsh::GetDisplayNearestPoint(
|
| // the |point|. This is correct in the only areas that matter, namely in the
|
| // corners between the physical screens.
|
| return *display::FindDisplayNearestPoint(
|
| - GetDisplayManager()->active_display_list(), point);
|
| + GetDisplayManager()->active_only_display_list(), point);
|
| }
|
|
|
| display::Display ScreenAsh::GetDisplayMatching(
|
| @@ -169,7 +169,7 @@ display::Display ScreenAsh::GetDisplayMatching(
|
| return GetDisplayNearestPoint(match_rect.origin());
|
| const display::Display* matching =
|
| display::FindDisplayWithBiggestIntersection(
|
| - GetDisplayManager()->active_display_list(), match_rect);
|
| + GetDisplayManager()->active_only_display_list(), match_rect);
|
| // Fallback to the primary display if there is no matching display.
|
| return matching ? *matching : GetPrimaryDisplay();
|
| }
|
|
|