gtk: Two fixes for the tab leak:
* The tab strip handles the lifetime of the tab widget, so don't try to increase the ref count in order to destroy the widget later. * Use DeleteSoon when deleting the dragged tab in order to give gtk a chance to clean up its ref counts added during the drag operation. BUG=12863 TEST=Extensive tab dragging. No crashes and the Linux UI valgrind bot should stay green. Review URL: http://codereview.chromium.org/159166 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21230 0039d316-1c4b-4281-b951-d872f2087c98
Showing
- chrome/browser/gtk/tabs/tab_gtk.cc 0 additions, 3 deletionschrome/browser/gtk/tabs/tab_gtk.cc
- chrome/browser/gtk/tabs/tab_strip_gtk.cc 4 additions, 1 deletionchrome/browser/gtk/tabs/tab_strip_gtk.cc
- tools/valgrind/memcheck/suppressions.txt 0 additions, 12 deletionstools/valgrind/memcheck/suppressions.txt
Please register or sign in to comment