Index: chrome/browser/browser_theme_provider_gtk.cc |
=================================================================== |
--- chrome/browser/browser_theme_provider_gtk.cc (revision 25977) |
+++ chrome/browser/browser_theme_provider_gtk.cc (working copy) |
@@ -31,12 +31,15 @@ |
// We loaded successfully. Cache the pixbuf. |
if (pixbuf) { |
+ // TODO(benl): reinstate this when the GDK port is upgraded. |
+#if !defined(OS_FREEBSD) |
if ((l10n_util::GetTextDirection() == l10n_util::RIGHT_TO_LEFT) && |
rtl_enabled) { |
GdkPixbuf* original_pixbuf = pixbuf; |
pixbuf = gdk_pixbuf_flip(pixbuf, TRUE); |
g_object_unref(original_pixbuf); |
} |
+#endif |
gdk_pixbufs_[key] = pixbuf; |
return pixbuf; |