Index: chrome/browser/ui/libgtkui/gtk_util.h |
diff --git a/chrome/browser/ui/libgtkui/gtk_util.h b/chrome/browser/ui/libgtkui/gtk_util.h |
index 358a4063d391613458f58579d23b4be564d47728..167a54c4fc769a2fb3557dee2972b9d408572aa6 100644 |
--- a/chrome/browser/ui/libgtkui/gtk_util.h |
+++ b/chrome/browser/ui/libgtkui/gtk_util.h |
@@ -165,6 +165,7 @@ inline void ScopedGObject<GtkStyleContext>::Unref() { |
!GtkVersionCheck(3, 15, 4)) { |
g_object_ref(parent); |
gtk_style_context_set_parent(context, nullptr); |
+ g_object_unref(context); |
} else { |
g_object_unref(context); |
return; |