| Index: chrome/browser/ui/views/location_bar/keyword_hint_view.cc
|
| diff --git a/chrome/browser/ui/views/location_bar/keyword_hint_view.cc b/chrome/browser/ui/views/location_bar/keyword_hint_view.cc
|
| index 2480de90634a318d69101008498dde22ddd031eb..76fd3fb9116dab85643199c7364b1daf05a11089 100644
|
| --- a/chrome/browser/ui/views/location_bar/keyword_hint_view.cc
|
| +++ b/chrome/browser/ui/views/location_bar/keyword_hint_view.cc
|
| @@ -57,7 +57,9 @@ TabKeyBubbleView::~TabKeyBubbleView() {}
|
|
|
| gfx::Size TabKeyBubbleView::GetPreferredSize() const {
|
| gfx::Size size = views::Label::GetPreferredSize();
|
| - size.Enlarge(2 * GetLayoutConstant(ICON_LABEL_VIEW_TRAILING_PADDING), 0);
|
| + constexpr int kPaddingInsideBorder = 5;
|
| + // Even though the border is 1 px thick visibly, it takes 1 DIP logically.
|
| + size.Enlarge(2 * (kPaddingInsideBorder + 1), 0);
|
| return size;
|
| }
|
|
|
|
|