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

Unified Diff: chrome/browser/ui/gtk/browser_toolbar_gtk.cc

Issue 10892002: GTK: Do not depend on the notification observer order... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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
Index: chrome/browser/ui/gtk/browser_toolbar_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/browser_toolbar_gtk.cc (revision 153513)
+++ chrome/browser/ui/gtk/browser_toolbar_gtk.cc (working copy)
@@ -661,7 +661,7 @@
}
void BrowserToolbarGtk::RebuildWrenchMenu() {
- wrench_menu_model_.reset(new WrenchMenuModel(this, browser_));
+ wrench_menu_model_->Rebuild();
wrench_menu_.reset(new MenuGtk(this, wrench_menu_model_.get()));
// The bookmark menu model needs to be able to force the wrench menu to close.
wrench_menu_model_->bookmark_sub_menu_model()->SetMenuGtk(wrench_menu_.get());
« no previous file with comments | « no previous file | chrome/browser/ui/toolbar/wrench_menu_model.h » ('j') | chrome/browser/ui/toolbar/wrench_menu_model.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698