Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 6634d03267e30e1b320fbe9d4e4e9a97f891792d..bda062e7bd61e1f888b830f33ec937814d49e530 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -431,20 +431,6 @@ static bool ShouldUseCompositedScrollingForFrames( |
return DeviceScaleEnsuresTextQuality(device_scale_factor); |
} |
-static bool ShouldUseUniversalAcceleratedCompositingForOverflowScroll() { |
- const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
- |
- if (command_line.HasSwitch( |
- switches::kDisableUniversalAcceleratedOverflowScroll)) |
- return false; |
- |
- if (command_line.HasSwitch( |
- switches::kEnableUniversalAcceleratedOverflowScroll)) |
- return true; |
- |
- return false; |
-} |
- |
static bool ShouldUseTransitionCompositing(float device_scale_factor) { |
const CommandLine& command_line = *CommandLine::ForCurrentProcess(); |
@@ -745,8 +731,6 @@ void RenderViewImpl::Initialize(RenderViewImplParams* params) { |
ShouldUseFixedPositionCompositing(device_scale_factor_)); |
webview()->settings()->setAcceleratedCompositingForOverflowScrollEnabled( |
ShouldUseAcceleratedCompositingForOverflowScroll(device_scale_factor_)); |
- webview()->settings()->setCompositorDrivenAcceleratedScrollingEnabled( |
- ShouldUseUniversalAcceleratedCompositingForOverflowScroll()); |
webview()->settings()->setAcceleratedCompositingForTransitionEnabled( |
ShouldUseTransitionCompositing(device_scale_factor_)); |
webview()->settings()->setAcceleratedCompositingForFixedRootBackgroundEnabled( |