| Index: chrome/browser/ui/toolbar/wrench_menu_model.cc
|
| diff --git a/chrome/browser/ui/toolbar/wrench_menu_model.cc b/chrome/browser/ui/toolbar/wrench_menu_model.cc
|
| index 3912f73c089d161ad55eacc61a8e27790dc41236..62a15b212a4e983e52830371b830f8e5c8a5c59d 100644
|
| --- a/chrome/browser/ui/toolbar/wrench_menu_model.cc
|
| +++ b/chrome/browser/ui/toolbar/wrench_menu_model.cc
|
| @@ -1037,7 +1037,7 @@ void WrenchMenuModel::CreateExtensionToolbarOverflowMenu() {
|
| if (!extensions::ExtensionToolbarModel::Get(browser_->profile())->
|
| all_icons_visible() ||
|
| ComponentToolbarActionsFactory::GetInstance()->
|
| - GetNumComponentActions() > 0) {
|
| + GetNumComponentActions(browser_) > 0) {
|
| #if defined(OS_MACOSX)
|
| // There's a bug in AppKit menus, where if a menu item with a custom view
|
| // (like the extensions overflow menu) is the first menu item, it is not
|
|
|