| Index: ash/common/wm/fullscreen_window_finder.cc
|
| diff --git a/ash/common/wm/fullscreen_window_finder.cc b/ash/common/wm/fullscreen_window_finder.cc
|
| index 5ae2ac967420b31a5c48d6c22a69af775f42b67b..1da601a39516d76b39b1cd604e3ce58b37695073 100644
|
| --- a/ash/common/wm/fullscreen_window_finder.cc
|
| +++ b/ash/common/wm/fullscreen_window_finder.cc
|
| @@ -35,7 +35,7 @@ WmWindow* GetWindowForFullscreenMode(WmWindow* context) {
|
| ->GetChildren();
|
| for (auto iter = windows.rbegin(); iter != windows.rend(); ++iter) {
|
| if ((*iter)->GetWindowState()->IsUserPositionable() &&
|
| - (*iter)->GetLayer()->GetTargetVisibility()) {
|
| + (*iter)->GetLayerTargetVisibility()) {
|
| topmost_window = *iter;
|
| break;
|
| }
|
|
|