| Index: ash/wm/video_detector.cc
|
| diff --git a/ash/wm/video_detector.cc b/ash/wm/video_detector.cc
|
| index 52a3ded76bb2211810abf6d25073bfdf87e6bc17..5b32a531b104d2a6a301469141551f6aa0456c05 100644
|
| --- a/ash/wm/video_detector.cc
|
| +++ b/ash/wm/video_detector.cc
|
| @@ -100,7 +100,7 @@ void VideoDetector::MaybeNotifyObservers(aura::Window* window,
|
| return;
|
|
|
| gfx::Rect root_bounds = window->GetRootWindow()->bounds();
|
| - if (!window->GetRootWindowBounds().Intersects(root_bounds))
|
| + if (!window->GetBoundsInRootWindow().Intersects(root_bounds))
|
| return;
|
|
|
| FOR_EACH_OBSERVER(VideoDetectorObserver, observers_, OnVideoDetected());
|
|
|