Index: ui/gfx/pango_util.cc |
diff --git a/ui/gfx/pango_util.cc b/ui/gfx/pango_util.cc |
index 612cd631102098de3c4b0ce012061c211a65fcaa..2fff6b10d611fa221135ed31ab2df97648497f5a 100644 |
--- a/ui/gfx/pango_util.cc |
+++ b/ui/gfx/pango_util.cc |
@@ -123,11 +123,11 @@ float GetPixelsInPoint() { |
} // namespace |
PangoContext* GetPangoContext() { |
-#if defined(USE_AURA) |
+#if defined(TOOLKIT_GTK) |
+ return gdk_pango_context_get(); |
+#else |
PangoFontMap* font_map = pango_cairo_font_map_get_default(); |
return pango_font_map_create_context(font_map); |
-#else |
- return gdk_pango_context_get(); |
#endif |
} |