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

Unified Diff: chrome/browser/ui/views/location_bar/icon_label_bubble_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/icon_label_bubble_view.cc
diff --git a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
index 7dca4b0f61a8c2faf8a038fa0ea7b7132f848e96..1647164adff4ee34c15ab1f34ea9688652b53676 100644
--- a/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
+++ b/chrome/browser/ui/views/location_bar/icon_label_bubble_view.cc
@@ -27,7 +27,7 @@ constexpr int kSpaceBesideSeparator = 8;
IconLabelBubbleView::IconLabelBubbleView(const gfx::FontList& font_list,
bool elide_in_middle)
: image_(new views::ImageView()),
- label_(new views::Label(base::string16(), font_list)) {
+ label_(new views::Label(base::string16(), {font_list})) {
// Disable separate hit testing for |image_|. This prevents views treating
// |image_| as a separate mouse hover region from |this|.
image_->set_can_process_events_within_subtree(false);

Powered by Google App Engine
This is Rietveld 408576698