| Index: ash/wm/video_detector.cc
|
| diff --git a/ash/wm/video_detector.cc b/ash/wm/video_detector.cc
|
| index 8ff8105e8190e5e36bb1e2f02dcc0b73b5914b79..07cd4f7a7a7499bdbc0afdebba940b60040e6a4e 100644
|
| --- a/ash/wm/video_detector.cc
|
| +++ b/ash/wm/video_detector.cc
|
| @@ -103,7 +103,7 @@ void VideoDetector::MaybeNotifyObservers(aura::Window* window,
|
| return;
|
|
|
| gfx::Rect root_bounds = Shell::GetRootWindow()->bounds();
|
| - if (!window->GetScreenBounds().Intersects(root_bounds))
|
| + if (!window->GetBoundsInRootWindow().Intersects(root_bounds))
|
| return;
|
|
|
| FOR_EACH_OBSERVER(VideoDetectorObserver, observers_, OnVideoDetected());
|
|
|