| Index: ui/aura/window_unittest.cc
|
| diff --git a/ui/aura/window_unittest.cc b/ui/aura/window_unittest.cc
|
| index f8ee953d977f619d567fa9172dbd8f381f6a05cd..ba975931117a711ae2ddd6ddd90219a5cf7ee464 100644
|
| --- a/ui/aura/window_unittest.cc
|
| +++ b/ui/aura/window_unittest.cc
|
| @@ -1971,6 +1971,10 @@ TEST_F(WindowTest, RecreateLayer) {
|
| EXPECT_FALSE(layer->visible());
|
| EXPECT_EQ(1u, layer->children().size());
|
| EXPECT_TRUE(layer->GetMasksToBounds());
|
| + // On recreate it's expected the bounds of both the window and layer go to
|
| + // 0. See description of Window::RecreateLayer() for details.
|
| + EXPECT_EQ("0,0 0x0", w.bounds().ToString());
|
| + EXPECT_EQ("0,0 0x0", layer->bounds().ToString());
|
| }
|
|
|
| // Verify that RecreateLayer() stacks the old layer above the newly creatd
|
|
|