| Index: ui/views/animation/flood_fill_ink_drop_ripple.cc
|
| diff --git a/ui/views/animation/flood_fill_ink_drop_ripple.cc b/ui/views/animation/flood_fill_ink_drop_ripple.cc
|
| index 9abd3e750fe62bcd8dea0c0b42de1cef5aea5a55..21c332dfa646edd37a2d83d0a14fcf395d6a4714 100644
|
| --- a/ui/views/animation/flood_fill_ink_drop_ripple.cc
|
| +++ b/ui/views/animation/flood_fill_ink_drop_ripple.cc
|
| @@ -316,12 +316,8 @@ gfx::Transform FloodFillInkDropRipple::CalculateTransform(
|
| }
|
|
|
| gfx::Transform FloodFillInkDropRipple::GetMaxSizeTargetTransform() const {
|
| - // TODO(estade): get rid of this 2, but make the fade out start before the
|
| - // active/action transform is done.
|
| - return CalculateTransform(gfx::Vector2dF(root_layer_.bounds().width(),
|
| - root_layer_.bounds().height())
|
| - .Length() /
|
| - 2);
|
| + return CalculateTransform(
|
| + root_layer_.bounds().MaxDistanceToCorners(center_point_));
|
| }
|
|
|
| } // namespace views
|
|
|