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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 11186039: Move CC switches to cc/switches.h. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update login_utils Created 8 years, 2 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: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index 81da444761578b7c5d006b8b0db4a44af3608da7..0ecd3e1b255a2e2aa85b1da09c7824f1c64a3eb6 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -570,14 +570,6 @@ void RenderThreadImpl::EnsureWebKitInitialized() {
WebKit::WebCompositorSupport* compositor_support =
WebKit::Platform::current()->compositorSupport();
const CommandLine& command_line = *CommandLine::ForCurrentProcess();
- compositor_support->setAcceleratedAnimationEnabled(
- !command_line.HasSwitch(switches::kDisableThreadedAnimation));
- compositor_support->setPerTilePaintingEnabled(
- command_line.HasSwitch(switches::kEnablePerTilePainting));
- compositor_support->setPartialSwapEnabled(
- command_line.HasSwitch(switches::kEnablePartialSwap));
- compositor_support->setPageScalePinchZoomEnabled(
- command_line.HasSwitch(switches::kEnablePinchInCompositor));
// TODO(fsamuel): Guests don't currently support threaded compositing.
// This should go away with the new design of the browser plugin.

Powered by Google App Engine
This is Rietveld 408576698