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

Unified Diff: chrome/browser/gpu_util.cc

Issue 10459016: Disable accelerated animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
Index: chrome/browser/gpu_util.cc
diff --git a/chrome/browser/gpu_util.cc b/chrome/browser/gpu_util.cc
index e388d90a78fdf50fb6bd191547837c1fcb3c7371..5c171a51b8ffc96d9e424953cad193744d281445 100644
--- a/chrome/browser/gpu_util.cc
+++ b/chrome/browser/gpu_util.cc
@@ -229,7 +229,7 @@ Value* GetFeatureStatus() {
{
"css_animation",
flags & content::GPU_FEATURE_TYPE_ACCELERATED_COMPOSITING,
- command_line.HasSwitch(switches::kDisableThreadedAnimation) ||
+ !command_line.HasSwitch(switches::kEnableAcceleratedAnimation) ||
command_line.HasSwitch(switches::kDisableAcceleratedCompositing),
"Accelerated CSS animation has been disabled at the command line.",
true

Powered by Google App Engine
This is Rietveld 408576698