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

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

Issue 23537056: Fix typo leading to the use of the wrong font in location bar bubbles. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 3 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
« no previous file with comments | « chrome/browser/ui/views/location_bar/selected_keyword_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/location_bar/selected_keyword_view.cc
===================================================================
--- chrome/browser/ui/views/location_bar/selected_keyword_view.cc (revision 223497)
+++ chrome/browser/ui/views/location_bar/selected_keyword_view.cc (working copy)
@@ -22,18 +22,18 @@
}
-SelectedKeywordView::SelectedKeywordView(const gfx::Font& font,
+SelectedKeywordView::SelectedKeywordView(const gfx::FontList& font_list,
int font_y_offset,
SkColor text_color,
SkColor parent_background_color,
Profile* profile)
: IconLabelBubbleView(kBackgroundImages, NULL, IDR_KEYWORD_SEARCH_MAGNIFIER,
- font, font_y_offset, text_color,
+ font_list, font_y_offset, text_color,
parent_background_color, false),
profile_(profile) {
- full_label_.SetFont(font);
+ full_label_.SetFontList(font_list);
full_label_.SetVisible(false);
- partial_label_.SetFont(font);
+ partial_label_.SetFontList(font_list);
partial_label_.SetVisible(false);
}
« no previous file with comments | « chrome/browser/ui/views/location_bar/selected_keyword_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698