Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index f71c8eaa531231a2f72575155f8931a11b872e91..aef0ac73bc75542cf7c8179f075291cb349e3e65 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -606,20 +606,6 @@ static bool ShouldUseAcceleratedCompositingForOverflowScroll( |
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(); |
@@ -909,8 +895,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( |