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 88810a5f244814cc899e3b47a57a67c720910723..baca15333ece1fbe4b391b1b4066f41b5c8bfd52 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
@@ -1208,8 +1208,6 @@ 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. |
@@ -1306,8 +1304,6 @@ private: |
// Bye bye, |oldController|. |
[tabContentsArray_ replaceObjectAtIndex:index withObject:newController]; |
- [delegate_ onReplaceTabWithContents:newContents->web_contents()]; |
- |
// Fake a tab changed notification to force tab titles and favicons to update. |
[self tabChangedWithContents:newContents |
atIndex:modelIndex |