| 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 149f21363121c25de9f410a06c614de47f48176f..5251a7ede56d99545828dd488e405d8cf46bafdf 100644
|
| --- a/ui/views/bubble/bubble_dialog_delegate.cc
|
| +++ b/ui/views/bubble/bubble_dialog_delegate.cc
|
| @@ -295,11 +295,6 @@ void BubbleDialogDelegateView::UpdateColorsFromTheme(
|
| const ui::NativeTheme* theme) {
|
| if (!color_explicitly_set_)
|
| color_ = theme->GetSystemColor(ui::NativeTheme::kColorId_BubbleBackground);
|
| - // The background color is handled by the BubbleFrameView, so it shouldn't be
|
| - // necessary to set the color on |this|. I am cowardly leaving it in place for
|
| - // pre-MD bubbles in case this is necessary for some reason.
|
| - if (!ui::MaterialDesignController::IsSecondaryUiMaterial())
|
| - set_background(Background::CreateSolidBackground(color()));
|
| BubbleFrameView* frame_view = GetBubbleFrameView();
|
| if (frame_view)
|
| frame_view->bubble_border()->set_background_color(color());
|
|
|