Index: ui/gfx/platform_font_pango.cc |
diff --git a/ui/gfx/platform_font_pango.cc b/ui/gfx/platform_font_pango.cc |
index b09819e566ffa77beadf31740100f411f12cc325..fe4d4e68a6668fd6f61ea8482a56e357a42f44d1 100644 |
--- a/ui/gfx/platform_font_pango.cc |
+++ b/ui/gfx/platform_font_pango.cc |
@@ -22,7 +22,7 @@ |
#include "ui/gfx/font.h" |
#include "ui/gfx/pango_util.h" |
-#if !defined(USE_WAYLAND) && defined(TOOLKIT_GTK) |
+#if defined(TOOLKIT_GTK) |
#include <gdk/gdk.h> |
#include <gtk/gtk.h> |
#endif |
@@ -63,7 +63,7 @@ std::string FindBestMatchFontFamilyName( |
// Returns a Pango font description (suitable for parsing by |
// pango_font_description_from_string()) for the default UI font. |
std::string GetDefaultFont() { |
-#if defined(USE_WAYLAND) || !defined(TOOLKIT_GTK) |
+#if !defined(TOOLKIT_GTK) |
#if defined(OS_CHROMEOS) |
return l10n_util::GetStringUTF8(IDS_UI_FONT_FAMILY_CROS); |
#else |
@@ -82,7 +82,7 @@ std::string GetDefaultFont() { |
std::string default_font = std::string(font_name); |
g_free(font_name); |
return default_font; |
-#endif // defined(USE_WAYLAND) || !defined(TOOLKIT_GTK) |
+#endif // !defined(TOOLKIT_GTK) |
} |
} // namespace |