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

Unified Diff: chrome/browser/ui/views/location_bar/location_icon_view.cc

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: fix windows Created 3 years, 9 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/location_bar/location_icon_view.cc
diff --git a/chrome/browser/ui/views/location_bar/location_icon_view.cc b/chrome/browser/ui/views/location_bar/location_icon_view.cc
index d388e2fa9b8f2eb769d3cfd2b20393d15a02ba67..378e62eacd7f8f0936d0fb18fcb134aa78f91fbf 100644
--- a/chrome/browser/ui/views/location_bar/location_icon_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_icon_view.cc
@@ -112,7 +112,7 @@ void LocationIconView::GetAccessibleNodeData(ui::AXNodeData* node_data) {
gfx::Size LocationIconView::GetMinimumSizeForLabelText(
const base::string16& text) const {
- views::Label label(text, font_list());
+ views::Label label(text, views::Label::CustomFont{font_list()});
return GetMinimumSizeForPreferredSize(
GetSizeForLabelWidth(label.GetPreferredSize().width()));
}

Powered by Google App Engine
This is Rietveld 408576698