Index: chrome/browser/ui/gtk/reload_button_gtk.cc |
diff --git a/chrome/browser/ui/gtk/reload_button_gtk.cc b/chrome/browser/ui/gtk/reload_button_gtk.cc |
index 2b8df1ec48ef11c3dba54157a270aa2ab55becdd..91f7c63a32d09854a05c4d6a41b79cbd52717ed4 100644 |
--- a/chrome/browser/ui/gtk/reload_button_gtk.cc |
+++ b/chrome/browser/ui/gtk/reload_button_gtk.cc |
@@ -230,8 +230,9 @@ void ReloadButtonGtk::UpdateThemeButtons() { |
if (use_gtk) { |
gtk_widget_ensure_style(widget()); |
+ GtkStyle* style = gtk_widget_get_style(widget()); |
GtkIconSet* icon_set = gtk_style_lookup_icon_set( |
- widget()->style, |
+ style, |
(visible_mode_ == MODE_RELOAD) ? GTK_STOCK_REFRESH : GTK_STOCK_STOP); |
if (icon_set) { |
GtkStateType state = gtk_widget_get_state(widget()); |
@@ -240,7 +241,7 @@ void ReloadButtonGtk::UpdateThemeButtons() { |
GdkPixbuf* pixbuf = gtk_icon_set_render_icon( |
icon_set, |
- widget()->style, |
+ style, |
gtk_widget_get_direction(widget()), |
state, |
GTK_ICON_SIZE_SMALL_TOOLBAR, |