| Index: chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/location_bar_view.cc b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| index c488fb8a0782ccc1d43fb9fafe6b71ce77c13449..1fa3cb9f46fc9d8be2aa6e27c5eabcca0e3de5d1 100644
|
| --- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
|
| @@ -459,11 +459,8 @@ void LocationBarView::SelectAll() {
|
|
|
| gfx::Point LocationBarView::GetLocationBarAnchorPoint() const {
|
| const views::ImageView* image = location_icon_view_->GetImageView();
|
| - // The +1 in the next line creates a 1-px gap between icon and arrow tip.
|
| - int icon_bottom = image->GetImageBounds().bottom() -
|
| - GetLayoutConstant(ICON_LABEL_VIEW_TRAILING_PADDING) + 1;
|
| - gfx::Point icon_center(image->GetImageBounds().CenterPoint());
|
| - gfx::Point point(icon_center.x(), icon_bottom);
|
| + const gfx::Rect image_bounds(image->GetImageBounds());
|
| + gfx::Point point(image_bounds.CenterPoint().x(), image_bounds.bottom());
|
| ConvertPointToTarget(image, this, &point);
|
| return point;
|
| }
|
|
|