Index: app/resource_bundle.cc |
=================================================================== |
--- app/resource_bundle.cc (revision 55911) |
+++ app/resource_bundle.cc (working copy) |
@@ -172,7 +172,7 @@ |
bold_font_.reset(new gfx::Font()); |
*bold_font_ = |
- base_font_->DeriveFont(0, base_font_->style() | gfx::Font::BOLD); |
+ base_font_->DeriveFont(0, base_font_->GetStyle() | gfx::Font::BOLD); |
small_font_.reset(new gfx::Font()); |
*small_font_ = base_font_->DeriveFont(-2); |
@@ -182,7 +182,7 @@ |
medium_bold_font_.reset(new gfx::Font()); |
*medium_bold_font_ = |
- base_font_->DeriveFont(3, base_font_->style() | gfx::Font::BOLD); |
+ base_font_->DeriveFont(3, base_font_->GetStyle() | gfx::Font::BOLD); |
large_font_.reset(new gfx::Font()); |
*large_font_ = base_font_->DeriveFont(8); |