Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index b2f016960d8ecda8aba7f805a636894b444577dc..2f1b9d001fa3014110a63d76184f2bfbf810cc0d 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -521,14 +521,6 @@ WebPreferences WebContentsImpl::GetWebkitPrefs(RenderViewHost* rvh, |
if (command_line.HasSwitch(switches::kDisableAcceleratedOverflowScroll)) |
prefs.accelerated_compositing_for_overflow_scroll_enabled = false; |
- prefs.universal_accelerated_compositing_for_overflow_scroll_enabled = false; |
- if (command_line.HasSwitch( |
- switches::kEnableUniversalAcceleratedOverflowScroll)) |
- prefs.universal_accelerated_compositing_for_overflow_scroll_enabled = true; |
- if (command_line.HasSwitch( |
- switches::kDisableUniversalAcceleratedOverflowScroll)) |
- prefs.universal_accelerated_compositing_for_overflow_scroll_enabled = false; |
- |
prefs.accelerated_compositing_for_scrollable_frames_enabled = |
command_line.HasSwitch(switches::kEnableAcceleratedScrollableFrames); |
prefs.composited_scrolling_for_frames_enabled = |