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

Unified Diff: chrome/browser/gtk/browser_toolbar_gtk.h

Issue 2996002: GTK: own a widget that was being accessed after destruction. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 5 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 | chrome/browser/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/browser_toolbar_gtk.h
diff --git a/chrome/browser/gtk/browser_toolbar_gtk.h b/chrome/browser/gtk/browser_toolbar_gtk.h
index 6a89f4cc4817cefd4f65dc8bbb90574b4133b3b0..a0619b2b8a8d84162d3443bbbc265af7bb8a45dc 100644
--- a/chrome/browser/gtk/browser_toolbar_gtk.h
+++ b/chrome/browser/gtk/browser_toolbar_gtk.h
@@ -230,7 +230,7 @@ class BrowserToolbarGtk : public CommandUpdater::CommandObserver,
// Keep a pointer to the menu button images because we change them when
// the theme changes.
GtkWidget* page_menu_image_;
- GtkWidget* app_menu_image_;
+ OwnedWidgetGtk app_menu_image_;
// The model that contains the security level, text, icon to display...
ToolbarModel* model_;
« no previous file with comments | « no previous file | chrome/browser/gtk/browser_toolbar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698