Index: ui/gfx/render_text_mac.cc |
diff --git a/ui/gfx/render_text_mac.cc b/ui/gfx/render_text_mac.cc |
index cfc7a5154823010bb004935be5404b8fd972d73a..c56c62638f7e37153ec380f07a511865da9c2a8e 100644 |
--- a/ui/gfx/render_text_mac.cc |
+++ b/ui/gfx/render_text_mac.cc |
@@ -107,7 +107,7 @@ void RenderTextMac::EnsureLayout() { |
runs_.clear(); |
runs_valid_ = false; |
- const Font& font = GetFont(); |
+ const Font& font = GetPrimaryFont(); |
base::ScopedCFTypeRef<CFStringRef> font_name_cf_string( |
base::SysUTF8ToCFStringRef(font.GetFontName())); |
base::ScopedCFTypeRef<CTFontRef> ct_font( |