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

Unified Diff: content/browser/renderer_host/render_view_host_impl.cc

Issue 1653003002: Make scrollAnimatorEnabled work on Mac like it does on other platforms (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/browser/renderer_host/render_view_host_impl.cc
diff --git a/content/browser/renderer_host/render_view_host_impl.cc b/content/browser/renderer_host/render_view_host_impl.cc
index 5916c11e7739a57edca76c3bdc3e556d667a7014..268cfc36ed5f03fec485aa62f9eba57f1a3bf2ac 100644
--- a/content/browser/renderer_host/render_view_host_impl.cc
+++ b/content/browser/renderer_host/render_view_host_impl.cc
@@ -480,7 +480,7 @@ WebPreferences RenderViewHostImpl::ComputeWebkitPrefs() {
prefs.enable_scroll_animator =
!command_line.HasSwitch(switches::kDisableSmoothScrolling) &&
- gfx::Animation::ShouldRenderRichAnimation();
+ gfx::Animation::ScrollAnimationsEnabledBySystem();
// Certain GPU features might have been blacklisted.
GpuDataManagerImpl::GetInstance()->UpdateRendererWebPrefs(&prefs);

Powered by Google App Engine
This is Rietveld 408576698