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

Unified Diff: ash/shell_unittest.cc

Issue 72503002: Remove some pass-thrus on RootWindow API in favor of exposing the RootWindowHost again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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/shell/window_watcher_unittest.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell_unittest.cc
diff --git a/ash/shell_unittest.cc b/ash/shell_unittest.cc
index 565211532614f19fcfb3e948c8867ac58ff083f6..c41163b313051e0941e735d84326d24c22dfe51e 100644
--- a/ash/shell_unittest.cc
+++ b/ash/shell_unittest.cc
@@ -400,8 +400,8 @@ TEST_F(ShellTest, ManagedWindowModeBasics) {
EXPECT_TRUE(launcher_widget->IsVisible());
// Shelf is at bottom-left of screen.
EXPECT_EQ(0, launcher_widget->GetWindowBoundsInScreen().x());
- EXPECT_EQ(
- Shell::GetPrimaryRootWindow()->GetDispatcher()->GetHostSize().height(),
+ EXPECT_EQ(Shell::GetPrimaryRootWindow()->GetDispatcher()->host()->
+ GetBounds().height(),
launcher_widget->GetWindowBoundsInScreen().bottom());
// We have a desktop background but not a bare layer.
// TODO (antrim): enable once we find out why it fails component build.
« no previous file with comments | « ash/shell/window_watcher_unittest.cc ('k') | ash/test/ash_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698