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 5cd838c84fc9e593097f0840747833367374c5a6..a5a1c09490ffdea0b3b1c23cf192112731ead5b3 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 |
@@ -10,7 +10,6 @@ import android.view.LayoutInflater; |
import android.view.View; |
import android.view.ViewGroup; |
import android.view.ViewParent; |
-import android.view.inputmethod.InputMethodManager; |
import android.widget.FrameLayout; |
import android.widget.LinearLayout; |
@@ -227,7 +226,7 @@ public class TabManager extends LinearLayout { |
assert parent == mContentViewHolder; |
mContentViewHolder.removeView(mTabModelWrapper); |
} |
- mToolbar.updateToolBarButtonState(); |
+ mToolbar.updateToolbarState(); |
} |
/** |
@@ -245,10 +244,7 @@ public class TabManager extends LinearLayout { |
if (mTabModelWrapper.getParent() == null) { |
mContentViewHolder.addView(mTabModelWrapper); |
} |
- mToolbar.updateToolBarButtonState(); |
- InputMethodManager mImm = (InputMethodManager) getContext().getSystemService( |
- Context.INPUT_METHOD_SERVICE); |
- mImm.hideSoftInputFromWindow(mContentViewHolder.getWindowToken(), 0); |
+ mToolbar.updateToolbarState(); |
} |
/** |