Index: chrome/browser/ui/views/first_run_bubble.cc |
diff --git a/chrome/browser/ui/views/first_run_bubble.cc b/chrome/browser/ui/views/first_run_bubble.cc |
index 67177528b78559998ce30b9e6681065ba508cfe0..1486d996b839149e7ae6c77e9443fdcaa6660d39 100644 |
--- a/chrome/browser/ui/views/first_run_bubble.cc |
+++ b/chrome/browser/ui/views/first_run_bubble.cc |
@@ -46,9 +46,12 @@ void FirstRunBubble::Init() { |
GetDefaultSearchEngineName( |
TemplateURLServiceFactory::GetForProfile(browser_->profile())) : |
base::string16(); |
+ |
+ // TODO(tapted): Update these when there are mocks. http://crbug.com/699338. |
views::Label* title = new views::Label( |
l10n_util::GetStringFUTF16(IDS_FR_BUBBLE_TITLE, search_engine_name), |
- original_font_list.Derive(2, gfx::Font::NORMAL, gfx::Font::Weight::BOLD)); |
+ views::Label::CustomFont{original_font_list.Derive( |
+ 2, gfx::Font::NORMAL, gfx::Font::Weight::BOLD)}); |
views::Link* change = |
new views::Link(l10n_util::GetStringUTF16(IDS_FR_BUBBLE_CHANGE)); |
@@ -57,7 +60,7 @@ void FirstRunBubble::Init() { |
views::Label* subtext = |
new views::Label(l10n_util::GetStringUTF16(IDS_FR_BUBBLE_SUBTEXT), |
- original_font_list); |
+ views::Label::CustomFont{original_font_list}); |
views::GridLayout* layout = views::GridLayout::CreatePanel(this); |
SetLayoutManager(layout); |