Index: ui/gfx/pango_util.cc |
diff --git a/ui/gfx/pango_util.cc b/ui/gfx/pango_util.cc |
index b051729cce1aeaf225ec5bfa3c3ccfb7fbd99443..e835602e689fd90111c1eacc88ee4261dff6825d 100644 |
--- a/ui/gfx/pango_util.cc |
+++ b/ui/gfx/pango_util.cc |
@@ -20,7 +20,7 @@ |
#include "ui/gfx/platform_font_pango.h" |
#include "ui/gfx/rect.h" |
-#if !defined(USE_WAYLAND) && defined(TOOLKIT_GTK) |
+#if defined(TOOLKIT_GTK) |
#include <gdk/gdk.h> |
#include <gtk/gtk.h> |
#include "ui/gfx/gtk_util.h" |
@@ -179,7 +179,7 @@ float GetPixelsInPoint() { |
namespace gfx { |
PangoContext* GetPangoContext() { |
-#if defined(USE_WAYLAND) || defined(USE_AURA) |
+#if defined(USE_AURA) |
PangoFontMap* font_map = pango_cairo_font_map_get_default(); |
return pango_font_map_create_context(font_map); |
#else |