| Index: chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
|
| index f55d9fd548d978811a87840ee70dbb93d9c19f7a..30ed032117a2237e8fde4ddbefe09082d6c77e44 100644
|
| --- a/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/extensions/browser_actions_controller.mm
|
| @@ -473,7 +473,7 @@ void ToolbarActionsBarBridge::OnOverflowedActionWantsToRunChanged(
|
| name:kBrowserActionButtonDraggingNotification
|
| object:newButton];
|
|
|
| - [containerView_ setMaxWidth:toolbarActionsBar_->GetMaximumWidth()];
|
| + [containerView_ setMaxDesiredWidth:toolbarActionsBar_->GetMaximumWidth()];
|
| }
|
|
|
| - (void)redraw {
|
| @@ -528,7 +528,7 @@ void ToolbarActionsBarBridge::OnOverflowedActionWantsToRunChanged(
|
| [button onRemoved];
|
| [buttons_ removeObject:button];
|
|
|
| - [containerView_ setMaxWidth:toolbarActionsBar_->GetMaximumWidth()];
|
| + [containerView_ setMaxDesiredWidth:toolbarActionsBar_->GetMaximumWidth()];
|
| }
|
|
|
| - (void)removeAllViews {
|
|
|