Index: ui/base/webui/web_ui_util.cc |
diff --git a/ui/base/webui/web_ui_util.cc b/ui/base/webui/web_ui_util.cc |
index d901491300b000206c6ae7a78086935d662625d9..aba0009dc141dae437e6f11dd4b95cb29c78149e 100644 |
--- a/ui/base/webui/web_ui_util.cc |
+++ b/ui/base/webui/web_ui_util.cc |
@@ -140,13 +140,6 @@ void SetFontAndTextDirection(base::DictionaryValue* localized_strings) { |
std::string font_family = l10n_util::GetStringUTF8(web_font_family_id); |
-#if defined(TOOLKIT_GTK) |
Evan Stade
2014/04/14 16:36:56
why make this behavioral change?
Elliot Glaysher
2014/04/14 16:52:01
What behavioral change? This is dead code and hasn
Evan Stade
2014/04/14 18:21:20
Today was the first day I got a version of Chrome
|
- // Use the system font on Linux/GTK. Keep the hard-coded font families as |
- // backup in case for some crazy reason this one isn't available. |
- font_family = ui::ResourceBundle::GetSharedInstance().GetFont( |
- ui::ResourceBundle::BaseFont).GetFontName() + ", " + font_family; |
-#endif |
- |
localized_strings->SetString("fontfamily", font_family); |
localized_strings->SetString("fontsize", |
l10n_util::GetStringUTF8(web_font_size_id)); |