| 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 7ba6184978fd9c1610e9d93b43daf94618ea74f4..78d0d9c1139031aed83bcdfa39783ead03a12a65 100644
|
| --- a/ui/views/bubble/bubble_frame_view.cc
|
| +++ b/ui/views/bubble/bubble_frame_view.cc
|
| @@ -257,7 +257,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() + ViewsDelegate::GetInstance()->GetDistanceMetric(
|
| + DistanceMetric::CLOSE_BUTTON_MARGIN)
|
| : 0;
|
| insets += gfx::Insets(std::max(title_height, close_height), 0, 0, 0);
|
| return insets;
|
|
|