| Index: ui/aura/window_unittest.cc
|
| diff --git a/ui/aura/window_unittest.cc b/ui/aura/window_unittest.cc
|
| index e3e81b2d04cb93cac5eedea53c701b705c0b2222..e849330e32aeb782f1f1943dc1d016beade88139 100644
|
| --- a/ui/aura/window_unittest.cc
|
| +++ b/ui/aura/window_unittest.cc
|
| @@ -1125,6 +1125,14 @@ TEST_F(WindowTest, GetBoundsInRootWindow) {
|
| // |GetBoundsInRootWindow()| should return 0,0.
|
| child->SetBounds(gfx::Rect(100, 100, 100, 100));
|
| EXPECT_EQ("0,0 100x100", child->GetBoundsInRootWindow().ToString());
|
| +
|
| + gfx::Transform transform;
|
| + transform.Scale(0.5, 0.5);
|
| + viewport->SetTransform(transform);
|
| + EXPECT_EQ(gfx::Rect(-100, -100, 150, 150).ToString(),
|
| + viewport->GetBoundsInRootWindow().ToString());
|
| + EXPECT_EQ(gfx::Rect(-50, -50, 50, 50).ToString(),
|
| + child->GetBoundsInRootWindow().ToString());
|
| }
|
|
|
| class MouseEnterExitWindowDelegate : public TestWindowDelegate {
|
|
|