Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1337)

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 10837196: Temporarily disable H/W Video decode on Windows to see if it is the cause of the spike (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
===================================================================
--- content/browser/web_contents/web_contents_impl.cc (revision 150635)
+++ content/browser/web_contents/web_contents_impl.cc (working copy)
@@ -515,8 +515,14 @@
!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 =
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698