Chromium Code Reviews| Index: ui/gfx/font_list.cc |
| diff --git a/ui/gfx/font_list.cc b/ui/gfx/font_list.cc |
| index 3c1b0146cd57998cdc002e15dd58a3f54f146726..0e6fd51c7bc15f4e849c88ff77be1624898a1b07 100644 |
| --- a/ui/gfx/font_list.cc |
| +++ b/ui/gfx/font_list.cc |
| @@ -230,4 +230,8 @@ const std::vector<Font>& FontList::GetFonts() const { |
| return fonts_; |
| } |
| +const Font& FontList::GetPrimaryFont() const { |
| + return GetFonts()[0]; |
| +} |
| + |
| } // namespace gfx |