| Index: content/browser/renderer_host/render_view_host_impl.cc
|
| diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
|
| index a178f9a6d846766336c6f325b513ef6e7ab040f1..4e00e0974ed3cb8cdd9867e5cb097d6bcd76884d 100644
|
| --- a/content/browser/renderer_host/render_view_host_impl.cc
|
| +++ b/content/browser/renderer_host/render_view_host_impl.cc
|
| @@ -434,22 +434,14 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
|
| // On Android, user gestures are normally required, unless that requirement
|
| // is disabled with a command-line switch or the equivalent field trial is
|
| // is set to "Enabled".
|
| - const std::string autoplay_group_name = base::FieldTrialList::FindFullName(
|
| - "MediaElementAutoplay");
|
| prefs.user_gesture_required_for_media_playback = !command_line.HasSwitch(
|
| - switches::kDisableGestureRequirementForMediaPlayback) &&
|
| - (autoplay_group_name.empty() || autoplay_group_name != "Enabled");
|
| + switches::kDisableGestureRequirementForMediaPlayback);
|
|
|
| prefs.progress_bar_completion = GetProgressBarCompletionPolicy();
|
|
|
| prefs.use_solid_color_scrollbars = true;
|
| #endif
|
|
|
| - // Handle autoplay gesture override experiment.
|
| - // Note that anything but a well-formed string turns the experiment off.
|
| - prefs.autoplay_experiment_mode = base::FieldTrialList::FindFullName(
|
| - "MediaElementGestureOverrideExperiment");
|
| -
|
| prefs.touch_event_api_enabled =
|
| !command_line.HasSwitch(switches::kTouchEvents) ||
|
| command_line.GetSwitchValueASCII(switches::kTouchEvents) !=
|
|
|