Index: chrome/browser/ui/gtk/nine_box.cc |
diff --git a/chrome/browser/ui/gtk/nine_box.cc b/chrome/browser/ui/gtk/nine_box.cc |
index d43f308bbe7f2ea63474ddea9ed5e21a83083abd..3c3332d2a1d6620da80c109f81920548c17a326d 100644 |
--- a/chrome/browser/ui/gtk/nine_box.cc |
+++ b/chrome/browser/ui/gtk/nine_box.cc |
@@ -142,7 +142,7 @@ void NineBox::RenderToWidgetWithOpacity(GtkWidget* dst, double opacity) const { |
// For widgets that have their own window, the allocation (x,y) coordinates |
// are GdkWindow relative. For other widgets, the coordinates are relative |
// to their container. |
- if (GTK_WIDGET_NO_WINDOW(dst)) { |
+ if (!gtk_widget_get_has_window(dst)) { |
// Transform our cairo from window to widget coordinates. |
cairo_translate(cr, allocation.x, allocation.y); |
} |