| Index: ui/views/animation/bounds_animator_unittest.cc
|
| diff --git a/ui/views/animation/bounds_animator_unittest.cc b/ui/views/animation/bounds_animator_unittest.cc
|
| index 2dbfc485a54ca165d9e3b63287cf6459c5bcddfb..44c1e124dc6664b3681936ed8e25f620c8773769 100644
|
| --- a/ui/views/animation/bounds_animator_unittest.cc
|
| +++ b/ui/views/animation/bounds_animator_unittest.cc
|
| @@ -129,8 +129,7 @@ TEST_F(BoundsAnimatorTest, AnimateViewTo) {
|
|
|
| // The parent should have been told to repaint as the animation progressed.
|
| // The resulting rect is the union of the original and target bounds.
|
| - target_bounds.Union(initial_bounds);
|
| - EXPECT_EQ(target_bounds, parent()->dirty_rect());
|
| + EXPECT_EQ(gfx::Union(target_bounds, initial_bounds), parent()->dirty_rect());
|
| }
|
|
|
| // Make sure an AnimationDelegate is deleted when canceled.
|
|
|