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

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

Issue 2734113006: "Bootstrap" a toolkit-views Typography spec. (Closed)
Patch Set: Rebase (conflict in layout_delegate.h due to r457774) 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 bf759553fb2fc33be8c7debe9a5a74c1d79d9d94..1a612d5058ed617e66630b3162961e9d073d1066 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, {font_list()});
return GetMinimumSizeForPreferredSize(
GetSizeForLabelWidth(label.GetPreferredSize().width()));
}

Powered by Google App Engine
This is Rietveld 408576698