| Index: ui/views/animation/ink_drop_animation.cc
|
| diff --git a/ui/views/animation/ink_drop_animation.cc b/ui/views/animation/ink_drop_animation.cc
|
| index 39c349459e9fc41299e04325e40013ba94b3b043..d5ce3ca9d524b6984d00343092ef49a3c44e566c 100644
|
| --- a/ui/views/animation/ink_drop_animation.cc
|
| +++ b/ui/views/animation/ink_drop_animation.cc
|
| @@ -370,14 +370,14 @@ void InkDropAnimation::SetOpacity(float opacity) {
|
| }
|
|
|
| void InkDropAnimation::CalculateCircleTransforms(
|
| - const gfx::SizeF& size,
|
| + const gfx::Size& size,
|
| InkDropTransforms* transforms_out) const {
|
| CalculateRectTransforms(size, std::min(size.width(), size.height()) / 2.0f,
|
| transforms_out);
|
| }
|
|
|
| void InkDropAnimation::CalculateRectTransforms(
|
| - const gfx::SizeF& size,
|
| + const gfx::Size& size,
|
| float corner_radius,
|
| InkDropTransforms* transforms_out) const {
|
| DCHECK_GE(size.width() / 2.0f, corner_radius)
|
|
|