Index: android_webview/lib/main/aw_main_delegate.cc |
diff --git a/android_webview/lib/main/aw_main_delegate.cc b/android_webview/lib/main/aw_main_delegate.cc |
index defb379388d38ac57af7a52be47e51c9e7262a70..31a483a20b542a7e26adeaa2b927c4f22d709b35 100644 |
--- a/android_webview/lib/main/aw_main_delegate.cc |
+++ b/android_webview/lib/main/aw_main_delegate.cc |
@@ -95,6 +95,10 @@ bool AwMainDelegate::BasicStartupComplete(int* exit_code) { |
// http://crbug.com/479767 |
cl->AppendSwitch(switches::kEnableAggressiveDOMStorageFlushing); |
+ // This will not be necessary after the "direction" strategy is enabled by |
+ // default. See http://crbug.com/451255. |
+ cl->AppendSwitchASCII(switches::kTouchTextSelectionStrategy, "direction"); |
+ |
// This is needed to be able to mmap the V8 snapshot and ICU data file |
// directly from the WebView .apk. |
// This needs to be here so that it gets to run before the code in |