Index: ash/wm/screen_dimmer_unittest.cc |
diff --git a/ash/wm/screen_dimmer_unittest.cc b/ash/wm/screen_dimmer_unittest.cc |
index 2925cd4c1b740be35f78ee84e4d7dbe1efd395d6..c339a9a816510578153eaae082bff4127b703e99 100644 |
--- a/ash/wm/screen_dimmer_unittest.cc |
+++ b/ash/wm/screen_dimmer_unittest.cc |
@@ -71,7 +71,7 @@ TEST_F(ScreenDimmerTest, ResizeLayer) { |
// When we resize the root window, the dimming layer should be resized to |
// match. |
gfx::Rect kNewBounds(400, 300); |
- Shell::GetPrimaryRootWindow()->GetDispatcher()->host()->SetBounds(kNewBounds); |
+ Shell::GetPrimaryRootWindow()->GetHost()->SetBounds(kNewBounds); |
EXPECT_EQ(kNewBounds.ToString(), dimming_layer->bounds().ToString()); |
} |