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 22eb4afa814831a125b2a79ed0aa910e181a02e6..ff83b983b4dadd1329b69eb33f5c6840a6a981db 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. |