| Index: trunk/src/ash/wm/screen_dimmer_unittest.cc
|
| ===================================================================
|
| --- trunk/src/ash/wm/screen_dimmer_unittest.cc (revision 244032)
|
| +++ trunk/src/ash/wm/screen_dimmer_unittest.cc (working copy)
|
| @@ -70,9 +70,9 @@
|
|
|
| // 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);
|
| - EXPECT_EQ(kNewBounds.ToString(), dimming_layer->bounds().ToString());
|
| + gfx::Size kNewSize(400, 300);
|
| + Shell::GetPrimaryRootWindow()->GetDispatcher()->SetHostSize(kNewSize);
|
| + EXPECT_EQ(kNewSize.ToString(), dimming_layer->bounds().size().ToString());
|
| }
|
|
|
| } // namespace test
|
|
|