| Index: ash/wm/video_detector.cc
|
| diff --git a/ash/wm/video_detector.cc b/ash/wm/video_detector.cc
|
| index e24a5958defd9f5814bfd74fd00ea178f95e8dbd..5afc6b3ce5435b0ad60e182a0836850bfa6ad123 100644
|
| --- a/ash/wm/video_detector.cc
|
| +++ b/ash/wm/video_detector.cc
|
| @@ -99,7 +99,7 @@ void VideoDetector::MaybeNotifyObservers(aura::Window* window,
|
| if (!window->IsVisible())
|
| return;
|
|
|
| - gfx::Rect root_bounds = Shell::GetRootWindow()->bounds();
|
| + gfx::Rect root_bounds = Shell::GetPrimaryRootWindow()->bounds();
|
| if (!window->GetBoundsInRootWindow().Intersects(root_bounds))
|
| return;
|
|
|
|
|