From b112649635ba02ad951d15fcd21b607b660cac70 Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Tue, 30 Jun 2009 23:58:17 +0000 Subject: Fixes crash in ~WidgetGtk. This was caused by your change to no longer set RootView::widget_ = NULL in RootView::OnWidgetDestroyed. BUG=none TEST=none Review URL: http://codereview.chromium.org/150137 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19684 0039d316-1c4b-4281-b951-d872f2087c98 --- views/widget/widget_win.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'views/widget/widget_win.h') diff --git a/views/widget/widget_win.h b/views/widget/widget_win.h index 6ae1141..33c247e 100644 --- a/views/widget/widget_win.h +++ b/views/widget/widget_win.h @@ -516,10 +516,7 @@ class WidgetWin : public Widget, // The TooltipManager. // WARNING: RootView's destructor calls into the TooltipManager. As such, this - // must be destroyed AFTER root_view_. This really only matters during - // WM_SESSIONEND, as normally the hwnd is destroyed which tiggers unsetting - // the widget in the RootView so that RootView's destructor doesn't call into - // the TooltipManager. + // must be destroyed AFTER root_view_. scoped_ptr tooltip_manager_; // The focus manager keeping track of focus for this Widget and any of its -- cgit v1.1