Index: chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java |
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java |
index 93ea15839d1d5ad3eeb8d2d018a475e986a7562d..5cd838c84fc9e593097f0840747833367374c5a6 100644 |
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java |
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java |
@@ -227,7 +227,7 @@ public class TabManager extends LinearLayout { |
assert parent == mContentViewHolder; |
mContentViewHolder.removeView(mTabModelWrapper); |
} |
- mToolbar.showAddButton(false); |
+ mToolbar.updateToolBarButtonState(); |
} |
/** |
@@ -245,7 +245,7 @@ public class TabManager extends LinearLayout { |
if (mTabModelWrapper.getParent() == null) { |
mContentViewHolder.addView(mTabModelWrapper); |
} |
- mToolbar.showAddButton(true); |
+ mToolbar.updateToolBarButtonState(); |
InputMethodManager mImm = (InputMethodManager) getContext().getSystemService( |
Context.INPUT_METHOD_SERVICE); |
mImm.hideSoftInputFromWindow(mContentViewHolder.getWindowToken(), 0); |