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

Unified Diff: ash/dip_unittest.cc

Issue 10442017: Rename GetRootWindow() -> GetPrimaryRootWindow() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git-try -b linux_chromeos,win_aura 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
« no previous file with comments | « ash/accelerators/nested_dispatcher_controller_unittest.cc ('k') | ash/drag_drop/drag_drop_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/dip_unittest.cc
diff --git a/ash/dip_unittest.cc b/ash/dip_unittest.cc
index e900fdeb86702aca5455d43538df84a784673b84..2c465cfb7a4a0bdd94095bfb1533514708fffb74 100644
--- a/ash/dip_unittest.cc
+++ b/ash/dip_unittest.cc
@@ -38,7 +38,7 @@ typedef ash::test::AshTestBase DIPTest;
TEST_F(DIPTest, MAYBE_WorkArea) {
ChangeMonitorConfig(1.0f, gfx::Rect(0, 0, 1000, 900));
- aura::RootWindow* root = Shell::GetRootWindow();
+ aura::RootWindow* root = Shell::GetPrimaryRootWindow();
const gfx::Monitor monitor = gfx::Screen::GetMonitorNearestWindow(root);
EXPECT_EQ("0,0 1000x900", monitor.bounds().ToString());
« no previous file with comments | « ash/accelerators/nested_dispatcher_controller_unittest.cc ('k') | ash/drag_drop/drag_drop_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698