| Index: ui/views/animation/ink_drop_host_view.cc
|
| diff --git a/ui/views/animation/ink_drop_host_view.cc b/ui/views/animation/ink_drop_host_view.cc
|
| index e6b1e424155d41e75056cdf1744fc2e7e2684fcc..ac5a1ffe4c469b7473518cc73fffed43c29b550a 100644
|
| --- a/ui/views/animation/ink_drop_host_view.cc
|
| +++ b/ui/views/animation/ink_drop_host_view.cc
|
| @@ -142,7 +142,8 @@ std::unique_ptr<InkDropRipple> InkDropHostView::CreateInkDropRipple() const {
|
|
|
| std::unique_ptr<InkDropHighlight> InkDropHostView::CreateInkDropHighlight()
|
| const {
|
| - return CreateDefaultInkDropHighlight(GetLocalBounds().CenterPoint());
|
| + return CreateDefaultInkDropHighlight(
|
| + gfx::RectF(GetLocalBounds()).CenterPoint());
|
| }
|
|
|
| std::unique_ptr<InkDropRipple> InkDropHostView::CreateDefaultInkDropRipple(
|
| @@ -156,7 +157,7 @@ std::unique_ptr<InkDropRipple> InkDropHostView::CreateDefaultInkDropRipple(
|
|
|
| std::unique_ptr<InkDropHighlight>
|
| InkDropHostView::CreateDefaultInkDropHighlight(
|
| - const gfx::Point& center_point) const {
|
| + const gfx::PointF& center_point) const {
|
| std::unique_ptr<InkDropHighlight> highlight(
|
| new InkDropHighlight(ink_drop_size_, kInkDropSmallCornerRadius,
|
| center_point, GetInkDropBaseColor()));
|
|
|