| Index: ui/base/resource/resource_bundle.cc
|
| diff --git a/ui/base/resource/resource_bundle.cc b/ui/base/resource/resource_bundle.cc
|
| index 2cfe06cc11c2a7ecf6b81a1f75ed8508c781de1e..28a23b01d35b5fd2a233ced6d98e91da62dad517 100644
|
| --- a/ui/base/resource/resource_bundle.cc
|
| +++ b/ui/base/resource/resource_bundle.cc
|
| @@ -515,6 +515,15 @@ const gfx::Font& ResourceBundle::GetFont(FontStyle style) {
|
| return GetFontList(style).GetPrimaryFont();
|
| }
|
|
|
| +// static
|
| +ResourceBundle::FontStyle ResourceBundle::BoldOnlyIfItLooksGood() {
|
| +#if defined(USE_AURA) && defined(OS_LINUX)
|
| + return BaseFont;
|
| +#else
|
| + return BoldFont;
|
| +#endif // defined(USE_AURA) && defined(OS_LINUX)
|
| +}
|
| +
|
| void ResourceBundle::ReloadFonts() {
|
| base::AutoLock lock_scope(*images_and_fonts_lock_);
|
| base_font_list_.reset();
|
|
|