| Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| diff --git a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| index 0a5da84c0adff787a6820be0e7d31b30ad0ea276..ea794aa56dfc9db07773af5288e5e9f8c2d2673d 100644
|
| --- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| +++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm
|
| @@ -1208,6 +1208,8 @@ private:
|
| // for layout.
|
| availableResizeWidth_ = kUseFullAvailableWidth;
|
|
|
| + [delegate_ onInsertTabWithContents:contents->web_contents()];
|
| +
|
| // We don't need to call |-layoutTabs| if the tab will be in the foreground
|
| // because it will get called when the new tab is selected by the tab model.
|
| // Whenever |-layoutTabs| is called, it'll also add the new subview.
|
|
|