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 3341991646752f023c18c72d74343cc3da814e1b..ab04496a83ff283c2b8b6ce1620cba658e95e180 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 |
@@ -164,7 +164,8 @@ public class ChromeShellToolbar extends LinearLayout { |
// This will set |mTab| by calling showTab(). |
// TODO(aurimas): Factor out initial tab creation to the activity level. |
- Tab tab = mTabManager.openUrl(mUrlTextView.getText().toString()); |
+ Tab tab = mTabManager.openUrl( |
+ UrlUtilities.fixupUrl(mUrlTextView.getText().toString())); |
mUrlTextView.clearFocus(); |
setKeyboardVisibilityForUrl(false); |
tab.getView().requestFocus(); |