| Index: chrome/browser/ui/views/toolbar/app_menu_button.cc
|
| diff --git a/chrome/browser/ui/views/toolbar/app_menu_button.cc b/chrome/browser/ui/views/toolbar/app_menu_button.cc
|
| index 12c0e38dfdc7ac277baa9d7eda618c0c97d26bf7..473d42315b8398727a4c081d7119eada8865fe31 100644
|
| --- a/chrome/browser/ui/views/toolbar/app_menu_button.cc
|
| +++ b/chrome/browser/ui/views/toolbar/app_menu_button.cc
|
| @@ -188,17 +188,6 @@ void AppMenuButton::SetTrailingMargin(int margin) {
|
| InvalidateLayout();
|
| }
|
|
|
| -gfx::Point AppMenuButton::GetInkDropCenter() const {
|
| - // ToolbarView extends the bounds of the app button to the right in maximized
|
| - // mode. So instead of using the center point of local bounds, we use the
|
| - // center point (adjusted for RTL layouts) of the preferred size, which
|
| - // doesn't change in maximized mode.
|
| - const int visible_width = GetPreferredSize().width();
|
| - return gfx::Point(
|
| - (GetMirroredXWithWidthInView(0, visible_width) + visible_width) / 2,
|
| - height() / 2);
|
| -}
|
| -
|
| const char* AppMenuButton::GetClassName() const {
|
| return "AppMenuButton";
|
| }
|
|
|