| Index: content/browser/android/content_startup_flags.cc
|
| diff --git a/content/browser/android/content_startup_flags.cc b/content/browser/android/content_startup_flags.cc
|
| index 6ebe4e1b04938b3d824a292617eea13f60664f35..ebd585bcaf3426eb88dcbdcfffadaa9eed7d08b3 100644
|
| --- a/content/browser/android/content_startup_flags.cc
|
| +++ b/content/browser/android/content_startup_flags.cc
|
| @@ -63,6 +63,14 @@ void SetContentCommandLineFlags(bool single_process,
|
| parsed_command_line->AppendSwitch(switches::kEnableOverlayScrollbar);
|
| parsed_command_line->AppendSwitch(switches::kValidateInputEventStream);
|
|
|
| + // TODO(jdduke): Use the proper SDK version when available, crbug.com/466749.
|
| + if (base::android::BuildInfo::GetInstance()->sdk_int() >
|
| + base::android::SDK_VERSION_LOLLIPOP_MR1) {
|
| + parsed_command_line->AppendSwitch(switches::kEnableLongpressDragSelection);
|
| + parsed_command_line->AppendSwitchASCII(
|
| + switches::kTouchTextSelectionStrategy, "direction");
|
| + }
|
| +
|
| // There is no software fallback on Android, so don't limit GPU crashes.
|
| parsed_command_line->AppendSwitch(switches::kDisableGpuProcessCrashLimit);
|
|
|
|
|