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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 27393002: Revert "Add a flag for enabling/disabling the new accelerated scrolling path" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 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
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 =
« no previous file with comments | « content/browser/renderer_host/render_process_host_impl.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698