| Index: ui/views/bubble/bubble_dialog_delegate.cc
|
| diff --git a/ui/views/bubble/bubble_dialog_delegate.cc b/ui/views/bubble/bubble_dialog_delegate.cc
|
| index 5251a7ede56d99545828dd488e405d8cf46bafdf..7799431151486abaf6ebd9c19bc657af3c31f411 100644
|
| --- a/ui/views/bubble/bubble_dialog_delegate.cc
|
| +++ b/ui/views/bubble/bubble_dialog_delegate.cc
|
| @@ -298,6 +298,12 @@ void BubbleDialogDelegateView::UpdateColorsFromTheme(
|
| BubbleFrameView* frame_view = GetBubbleFrameView();
|
| if (frame_view)
|
| frame_view->bubble_border()->set_background_color(color());
|
| +
|
| + // When there's an opaque layer, the bubble border background won't show
|
| + // through, so explicitly paint a background color.
|
| + set_background(layer() && layer()->fills_bounds_opaquely()
|
| + ? Background::CreateSolidBackground(color())
|
| + : nullptr);
|
| }
|
|
|
| void BubbleDialogDelegateView::HandleVisibilityChanged(Widget* widget,
|
|
|