| 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 502bc0b8a2a032fff9af4d84790b0b4f0dd3195e..8ce99c3368fe05d20bc4302ac2b816404c66d2cb 100644
|
| --- a/ui/views/bubble/bubble_dialog_delegate.cc
|
| +++ b/ui/views/bubble/bubble_dialog_delegate.cc
|
| @@ -110,9 +110,6 @@ ClientView* BubbleDialogDelegateView::CreateClientView(Widget* widget) {
|
| NonClientFrameView* BubbleDialogDelegateView::CreateNonClientFrameView(
|
| Widget* widget) {
|
| BubbleFrameView* frame = new BubbleFrameView(title_margins_, margins_);
|
| - // Note: In CreateBubble, the call to SizeToContents() will cause
|
| - // the relayout that this call requires.
|
| - frame->SetTitleFontList(GetTitleFontList());
|
| frame->SetFootnoteView(CreateFootnoteView());
|
|
|
| BubbleBorder::Arrow adjusted_arrow = arrow();
|
| @@ -238,13 +235,6 @@ gfx::Rect BubbleDialogDelegateView::GetBubbleBounds() {
|
| adjust_if_offscreen_ && !anchor_minimized);
|
| }
|
|
|
| -const gfx::FontList& BubbleDialogDelegateView::GetTitleFontList() const {
|
| - ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
|
| - if (ui::MaterialDesignController::IsSecondaryUiMaterial())
|
| - return rb.GetFontListWithDelta(ui::kTitleFontSizeDelta);
|
| - return rb.GetFontList(ui::ResourceBundle::MediumFont);
|
| -}
|
| -
|
| void BubbleDialogDelegateView::OnNativeThemeChanged(
|
| const ui::NativeTheme* theme) {
|
| UpdateColorsFromTheme(theme);
|
|
|