Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1120)

Unified Diff: views/controls/native/native_view_host_gtk.cc

Issue 8353034: Fix for a memory leak in views/controls/native/native_view_host_gtk.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/valgrind/memcheck/suppressions.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/native/native_view_host_gtk.cc
===================================================================
--- views/controls/native/native_view_host_gtk.cc (revision 106695)
+++ views/controls/native/native_view_host_gtk.cc (working copy)
@@ -112,7 +112,7 @@
NativeViewHostGtk::~NativeViewHostGtk() {
if (fixed_) {
gtk_container_foreach(GTK_CONTAINER(fixed_), RemoveFromParent, fixed_);
- gtk_widget_destroy(fixed_);
+ DestroyFixed();
}
}
« no previous file with comments | « tools/valgrind/memcheck/suppressions.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698