| Index: ui/base/gtk/gtk_compat.h
|
| diff --git a/ui/base/gtk/gtk_compat.h b/ui/base/gtk/gtk_compat.h
|
| index 23723870ce1aec00972a5a13786a4b0f0786a326..4ca12df7fc309755a8ed730583be3a56f3d7a846 100644
|
| --- a/ui/base/gtk/gtk_compat.h
|
| +++ b/ui/base/gtk/gtk_compat.h
|
| @@ -49,6 +49,10 @@ inline void gtk_widget_set_realized(GtkWidget* widget,
|
| else
|
| GTK_WIDGET_UNSET_FLAGS(widget, GTK_REALIZED);
|
| }
|
| +
|
| +inline void gtk_widget_style_attach(GtkWidget* widget) {
|
| + widget->style = gtk_style_attach(widget->style, widget->window);
|
| +}
|
| #endif // !GTK_CHECK_VERSION(2, 20, 0) || defined(GOOGLE_CHROME_BUILD)
|
|
|
| #if !GTK_CHECK_VERSION(2, 22, 0)
|
|
|