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

Unified Diff: ash/screensaver/screensaver_view.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/screensaver/screensaver_view.cc
diff --git a/ash/screensaver/screensaver_view.cc b/ash/screensaver/screensaver_view.cc
index 858ae9ce8452ad3d3dfa0f8a05b7b3278b715464..f8a3bd3975e39962c628b162b290a4638b705e2e 100644
--- a/ash/screensaver/screensaver_view.cc
+++ b/ash/screensaver/screensaver_view.cc
@@ -113,7 +113,7 @@ void ScreensaverView::LoadScreensaver() {
}
void ScreensaverView::ShowWindow() {
- aura::RootWindow* root_window = ash::Shell::GetRootWindow();
+ aura::RootWindow* root_window = ash::Shell::GetPrimaryRootWindow();
gfx::Rect screen_rect =
gfx::Screen::GetMonitorNearestWindow(root_window).bounds();
« no previous file with comments | « ash/monitor/multi_monitor_manager_unittest.cc ('k') | ash/shell.h » ('j') | ash/shell.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698