| 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..79223f920ffd0b0449c216573f1b48e6b4102b40 100644
|
| --- a/ui/views/bubble/bubble_frame_view.cc
|
| +++ b/ui/views/bubble/bubble_frame_view.cc
|
| @@ -314,8 +314,8 @@ void BubbleFrameView::Layout() {
|
| return;
|
|
|
| // The close button is positioned somewhat closer to the edge of the bubble.
|
| - const int close_margin =
|
| - ViewsDelegate::GetInstance()->GetDialogCloseButtonMargin();
|
| + const int close_margin = ViewsDelegate::GetInstance()->GetSpacingMetric(
|
| + ViewsDelegate::SpacingMetric::CLOSE_BUTTON_MARGIN);
|
| close_->SetPosition(
|
| gfx::Point(contents_bounds.right() - close_margin - close_->width(),
|
| contents_bounds.y() + close_margin));
|
|
|