diff --git a/atom/browser/ui/views/menu_delegate.cc b/atom/browser/ui/views/menu_delegate.cc index 8c24a82af5b5..1b6330710da6 100644 --- a/atom/browser/ui/views/menu_delegate.cc +++ b/atom/browser/ui/views/menu_delegate.cc @@ -70,8 +70,8 @@ base::string16 MenuDelegate::GetLabel(int id) const { return adapter_->GetLabel(id); } -const gfx::FontList* MenuDelegate::GetLabelFontList(int id) const { - return adapter_->GetLabelFontList(id); +void MenuDelegate::GetLabelStyle(int id, LabelStyle* style) const { + return adapter_->GetLabelStyle(id, style); } bool MenuDelegate::IsCommandEnabled(int id) const { diff --git a/atom/browser/ui/views/menu_delegate.h b/atom/browser/ui/views/menu_delegate.h index 6c9541dd6611..1b26bf35c726 100644 --- a/atom/browser/ui/views/menu_delegate.h +++ b/atom/browser/ui/views/menu_delegate.h @@ -46,7 +46,7 @@ class MenuDelegate : public views::MenuDelegate { const ui::Event& e) override; bool GetAccelerator(int id, ui::Accelerator* accelerator) const override; base::string16 GetLabel(int id) const override; - const gfx::FontList* GetLabelFontList(int id) const override; + void GetLabelStyle(int id, LabelStyle* style) const override; bool IsCommandEnabled(int id) const override; bool IsCommandVisible(int id) const override; bool IsItemChecked(int id) const override;