Index: chrome/browser/ui/gtk/gtk_custom_menu_item.cc |
diff --git a/chrome/browser/ui/gtk/gtk_custom_menu_item.cc b/chrome/browser/ui/gtk/gtk_custom_menu_item.cc |
index c830dbb0c20a625a90c0e4247a7cc01341e32944..9fb1fb65f649563375a32a8cce506132cd245500 100644 |
--- a/chrome/browser/ui/gtk/gtk_custom_menu_item.cc |
+++ b/chrome/browser/ui/gtk/gtk_custom_menu_item.cc |
@@ -218,7 +218,8 @@ static void gtk_custom_menu_item_expose_button(GtkWidget* hbox, |
int width = last_allocation.width + last_allocation.x - first_allocation.x; |
int height = last_allocation.height; |
- gtk_paint_box(hbox->style, hbox->window, |
+ gtk_paint_box(gtk_widget_get_style(hbox), |
+ gtk_widget_get_window(hbox), |
gtk_widget_get_state(current_button), |
GTK_SHADOW_OUT, |
¤t_allocation, hbox, "button", |