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

Unified Diff: views/widget/widget_gtk.h

Issue 150137: Fixes crash in ~WidgetGtk. This was caused by your change to no longer... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 6 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 | « no previous file | views/widget/widget_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget_gtk.h
===================================================================
--- views/widget/widget_gtk.h (revision 19657)
+++ views/widget/widget_gtk.h (working copy)
@@ -209,11 +209,14 @@
// popup that such GtkWidgets are parented to.
static GtkWidget* null_parent_;
+ // The TooltipManager.
+ // WARNING: RootView's destructor calls into the TooltipManager. As such, this
+ // must be destroyed AFTER root_view_.
+ scoped_ptr<TooltipManagerGtk> tooltip_manager_;
+
// The root of the View hierarchy attached to this window.
scoped_ptr<RootView> root_view_;
- scoped_ptr<TooltipManagerGtk> tooltip_manager_;
-
// If true, the mouse is currently down.
bool is_mouse_down_;
« no previous file with comments | « no previous file | views/widget/widget_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698