Index: chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java |
index efeef0faa2af439ad728ccd13b87159087bf80c6..5c58b94a9516fe708b3df7c0af8f012272716f09 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabActivity.java |
@@ -236,6 +236,7 @@ public class CustomTabActivity extends ChromeActivity { |
@Override |
public boolean createContextualSearchTab(ContentViewCore searchContentViewCore) { |
if (mTab == null) return false; |
+ getCurrentContentViewCore().clearSelection(); |
NavigationEntry entry = |
searchContentViewCore.getWebContents().getNavigationController().getPendingEntry(); |
String url = entry != null |