diff options
Diffstat (limited to 'ash/wm/video_detector.cc')
-rw-r--r-- | ash/wm/video_detector.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/wm/video_detector.cc b/ash/wm/video_detector.cc index e24a5958..5afc6b3 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; |