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 95c9cae712961b3935556a43b42d296efcb6f2fe..d94ba3df3718614991af6975a7e6aeacb6a329b2 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
+++ b/chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm |
@@ -1215,7 +1215,7 @@ class NotificationBridge : public NotificationObserver { |
// Take closing tabs into account. |
NSInteger activeIndex = [self indexFromModelIndex:modelIndex]; |
- if (oldContents && oldContents != newContents) { |
+ if (oldContents) { |
int oldModelIndex = |
browser_->GetIndexOfController(&(oldContents->controller())); |
if (oldModelIndex != -1) { // When closing a tab, the old tab may be gone. |