summaryrefslogtreecommitdiffstats
path: root/chrome/common/owned_widget_gtk.cc
Commit message (Collapse)AuthorAgeFilesLines
* Linux: Delay the deletion of the RWHVGtk object.willchan@chromium.org2009-05-141-1/+1
| | | | | | | | | | | This object may be deleted within a signal handler for its widget, which causes a DCHECK. Fix by using MessageLoop::DeleteSoon() instead. BUG=http://www.crbug.com/11847 TEST=Open browser, navigate to www.google.com. Navigate to www.yahoo.com. This will delete the old RWHV. It shouldn't crash. Review URL: http://codereview.chromium.org/113316 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16039 0039d316-1c4b-4281-b951-d872f2087c98
* Add OwnedWidgetGtk, and abstraction to help manage the lifetime and ↵deanm@chromium.org2009-03-161-0/+40
ownership of a GtkWidget encapsulated (and exposed) from a C++ object. Debugging checks help verify that the GtkWidget is not leaked, and that it was destroyed when expected. Review URL: http://codereview.chromium.org/42226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11740 0039d316-1c4b-4281-b951-d872f2087c98