Index: ui/gfx/pango_util.cc |
diff --git a/ui/gfx/pango_util.cc b/ui/gfx/pango_util.cc |
index 3716cf1e49934e85eb28efd22ce184d9232b414a..56503c6a01fc93e90fdacff88f0760da93d1fdb8 100644 |
--- a/ui/gfx/pango_util.cc |
+++ b/ui/gfx/pango_util.cc |
@@ -23,10 +23,6 @@ |
#include "ui/gfx/rect.h" |
#include "ui/gfx/text_utils.h" |
-#if defined(TOOLKIT_GTK) |
-#include <gdk/gdk.h> |
-#endif |
- |
namespace gfx { |
namespace { |
@@ -116,12 +112,8 @@ float GetPixelsInPoint() { |
} // namespace |
PangoContext* GetPangoContext() { |
-#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); |
-#endif |
} |
double GetPangoResolution() { |