| Index: ui/views/bubble/bubble_frame_view.cc
|
| diff --git a/ui/views/bubble/bubble_frame_view.cc b/ui/views/bubble/bubble_frame_view.cc
|
| index 14f5622aba174aeff0115960fd7b8cb22cf925a6..fc2261adf49e282beae142a69c8ea18faf560496 100644
|
| --- a/ui/views/bubble/bubble_frame_view.cc
|
| +++ b/ui/views/bubble/bubble_frame_view.cc
|
| @@ -259,7 +259,8 @@ gfx::Insets BubbleFrameView::GetInsets() const {
|
| const int title_height = std::max(icon_height, label_height) + title_padding;
|
| const int close_height =
|
| GetWidget()->widget_delegate()->ShouldShowCloseButton()
|
| - ? close_->height()
|
| + ? close_->height() + LayoutProvider::Get()->GetDistanceMetric(
|
| + DISTANCE_CLOSE_BUTTON_MARGIN)
|
| : 0;
|
| insets += gfx::Insets(std::max(title_height, close_height), 0, 0, 0);
|
| return insets;
|
|
|