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

Unified Diff: ash/wm/screen_dimmer_unittest.cc

Issue 2524873002: Rename WindowTreeHost G|SetBounds to indicate they are in pixels. (Closed)
Patch Set: rebase Created 4 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/wm/boot_splash_screen_chromeos.cc ('k') | blimp/engine/session/blimp_engine_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/screen_dimmer_unittest.cc
diff --git a/ash/wm/screen_dimmer_unittest.cc b/ash/wm/screen_dimmer_unittest.cc
index 8ed00ae0ec776f962aa1d029964f5294813538d9..53266525d8646ad61ddd29539a226085bd46e18b 100644
--- a/ash/wm/screen_dimmer_unittest.cc
+++ b/ash/wm/screen_dimmer_unittest.cc
@@ -93,7 +93,7 @@ TEST_F(ScreenDimmerTest, MAYBE_ResizeLayer) {
// When we resize the root window, the dimming layer should be resized to
// match.
gfx::Rect kNewBounds(400, 300);
- Shell::GetPrimaryRootWindow()->GetHost()->SetBounds(kNewBounds);
+ Shell::GetPrimaryRootWindow()->GetHost()->SetBoundsInPixels(kNewBounds);
EXPECT_EQ(kNewBounds.ToString(), dimming_layer->bounds().ToString());
}
« no previous file with comments | « ash/wm/boot_splash_screen_chromeos.cc ('k') | blimp/engine/session/blimp_engine_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698