Index: chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/AccessibilityTabModelWrapper.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/AccessibilityTabModelWrapper.java b/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/AccessibilityTabModelWrapper.java |
index 042c92b039add94d5dbf0508d9705b82961bcba5..053e52639f2c5f5be5b051cab2a9f598f82cd8eb 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/AccessibilityTabModelWrapper.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/AccessibilityTabModelWrapper.java |
@@ -39,6 +39,7 @@ public class AccessibilityTabModelWrapper extends LinearLayout { |
@Override |
public void onNewTabCreated(Tab tab) { |
+ getAdapter().notifyDataSetChanged(); |
} |
}; |
@@ -159,7 +160,6 @@ public class AccessibilityTabModelWrapper extends LinearLayout { |
@Override |
protected void onDetachedFromWindow() { |
- mTabModelSelector.unregisterChangeListener(mTabModelChangeListener); |
mIsAttachedToWindow = false; |
super.onDetachedFromWindow(); |
} |