diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 23:58:17 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 23:58:17 +0000 |
commit | b112649635ba02ad951d15fcd21b607b660cac70 (patch) | |
tree | 4f7cdec06969f705ad6336f84c1962f6bdd26ccd /views/widget/widget_win.h | |
parent | 1bf2ac9712f06f3fac3f25f7abccd31e300687c5 (diff) | |
download | chromium_src-b112649635ba02ad951d15fcd21b607b660cac70.zip chromium_src-b112649635ba02ad951d15fcd21b607b660cac70.tar.gz chromium_src-b112649635ba02ad951d15fcd21b607b660cac70.tar.bz2 |
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
Diffstat (limited to 'views/widget/widget_win.h')
-rw-r--r-- | views/widget/widget_win.h | 5 |
1 files changed, 1 insertions, 4 deletions
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<TooltipManagerWin> tooltip_manager_; // The focus manager keeping track of focus for this Widget and any of its |