| Index: chrome/browser/ui/views/toolbar/back_button.cc
|
| diff --git a/chrome/browser/ui/views/toolbar/back_button.cc b/chrome/browser/ui/views/toolbar/back_button.cc
|
| index 73ae0411c64c06f374cbaab0be52536da6b57451..93e7e12072f5582076081f776a020f1cd6196a66 100644
|
| --- a/chrome/browser/ui/views/toolbar/back_button.cc
|
| +++ b/chrome/browser/ui/views/toolbar/back_button.cc
|
| @@ -32,9 +32,8 @@ void BackButton::SetLeadingMargin(int margin) {
|
| InvalidateLayout();
|
| }
|
|
|
| -void BackButton::LayoutInkDrop() {
|
| - ink_drop_animation_controller()->SetInkDropBounds(
|
| - gfx::Rect(margin_leading_, 0, width() - margin_leading_, height()));
|
| +gfx::Point BackButton::CalculateInkDropCenter() const {
|
| + return gfx::Point((width() + margin_leading_) / 2, height() / 2);
|
| }
|
|
|
| const char* BackButton::GetClassName() const {
|
|
|