Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(168)

Unified Diff: ash/wm/video_detector.cc

Issue 10442017: Rename GetRootWindow() -> GetPrimaryRootWindow() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698