Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6071)

Unified Diff: chrome/browser/ui/views/toolbar/app_menu.cc

Issue 2801583002: Use views::style for buttons, bootstrap ash_typography to do so. (Closed)
Patch Set: placate gn check. new_avatar_button now just avatar_button Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/toolbar/app_menu.cc
diff --git a/chrome/browser/ui/views/toolbar/app_menu.cc b/chrome/browser/ui/views/toolbar/app_menu.cc
index e1a39e9d4f1e21b828d490a3ca13656a3b6a90ca..b26eea57b146036acbd00d2e33b73f9d7291e372 100644
--- a/chrome/browser/ui/views/toolbar/app_menu.cc
+++ b/chrome/browser/ui/views/toolbar/app_menu.cc
@@ -257,7 +257,7 @@ class InMenuButton : public LabelButton {
set_background(in_menu_background_);
SetBorder(
views::CreateEmptyBorder(0, kHorizontalPadding, 0, kHorizontalPadding));
- SetFontList(MenuConfig::instance().font_list);
+ label()->SetFontList(MenuConfig::instance().font_list);
}
void GetAccessibleNodeData(ui::AXNodeData* node_data) override {

Powered by Google App Engine
This is Rietveld 408576698