Index: chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
diff --git a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
index e550da6559fde6e35acb2cff7a3f2a2591ed244e..696e8cef5e786d327cde7dacb76e483cdee2200a 100644 |
--- a/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
+++ b/chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellToolbar.java |
@@ -165,6 +165,9 @@ public class ChromeShellToolbar extends LinearLayout { |
// This will set |mTab| by calling showTab(). |
// TODO(aurimas): Factor out initial tab creation to the activity level. |
+ if (mTabManager.isTabSwitcherVisible()) { |
Bernhard Bauer
2014/11/07 11:02:39
This should come before the comment, as the commen
divya.bansal
2014/11/07 11:38:33
Done.
|
+ mTabManager.hideTabSwitcher(); |
+ } |
Tab tab = mTabManager.openUrl( |
UrlUtilities.fixupUrl(mUrlTextView.getText().toString())); |
mUrlTextView.clearFocus(); |