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

Unified Diff: content/shell/app/shell_main_delegate.cc

Issue 15939004: [content shell] Do not disable cc-driven animation when using threaded compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« 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/shell/app/shell_main_delegate.cc
diff --git a/content/shell/app/shell_main_delegate.cc b/content/shell/app/shell_main_delegate.cc
index e21a0cfb5f8c11bf67abe76311a6428fa0088b4c..386986245b3a5b6139e714dd7e7e94f0b0933eae 100644
--- a/content/shell/app/shell_main_delegate.cc
+++ b/content/shell/app/shell_main_delegate.cc
@@ -125,7 +125,8 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
command_line.AppendSwitchASCII(switches::kTouchEvents,
switches::kTouchEventsEnabled);
command_line.AppendSwitch(switches::kEnableGestureTapHighlight);
- command_line.AppendSwitch(cc::switches::kDisableThreadedAnimation);
+ if (!command_line.HasSwitch(switches::kEnableThreadedCompositing))
+ command_line.AppendSwitch(cc::switches::kDisableThreadedAnimation);
if (command_line.HasSwitch(switches::kEnableSoftwareCompositing))
command_line.AppendSwitch(switches::kEnableSoftwareCompositingGLAdapter);
« 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