Commit 126a15b2 authored by ananta@chromium.org's avatar ananta@chromium.org

Reverting this change as it does not disable H/W video decode. It disables H/W rendering.

Revert 150947 - Temporarily disable H/W Video decode on Windows to see if it is the cause of the spike
in the gpu process crashes.

BUG=none
R=apatrick
Review URL: https://chromiumcodereview.appspot.com/10837196

TBR=ananta@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10854125

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151316 0039d316-1c4b-4281-b951-d872f2087c98
parent 8bf6c179
......@@ -514,14 +514,8 @@ WebPreferences WebContentsImpl::GetWebkitPrefs(RenderViewHost* rvh,
!command_line.HasSwitch(switches::kDisableAcceleratedLayers);
prefs.accelerated_plugins_enabled =
!command_line.HasSwitch(switches::kDisableAcceleratedPlugins);
// Temporarily disabling H/W accelerated video on windows to see if it is the
// cause of the spike in the gpu process crashes.
#if defined(OS_WIN)
prefs.accelerated_video_enabled = false;
#else // OS_WIN
prefs.accelerated_video_enabled =
!command_line.HasSwitch(switches::kDisableAcceleratedVideo);
#endif // OS_WIN
prefs.fullscreen_enabled =
!command_line.HasSwitch(switches::kDisableFullScreen);
prefs.css_regions_enabled =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment