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 9b2ff8d89e85ec4d3be7f2645504f19fd0c68ae2..cbb15c6373b774efb28839958d6247318cc3584f 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. |