| 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 bf3df7ee47ab05d9f2fc423c4719da48145abf33..1a3ae270416cac0148ae01932b13e8265a0d116b 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() + LayoutProvider::Get()->GetDistanceMetric(
|
| + DISTANCE_CLOSE_BUTTON_MARGIN)
|
| : 0;
|
| insets += gfx::Insets(std::max(title_height, close_height), 0, 0, 0);
|
| return insets;
|
|
|