Index: chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
diff --git a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
index 57d1857567036765136f50bd81e99995552cd543..5aad01139a7b85a4ac09a18b2869ab8f6506f4c7 100644 |
--- a/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
+++ b/chrome/browser/tab_contents/render_view_host_delegate_helper.cc |
@@ -342,6 +342,8 @@ WebPreferences RenderViewHostDelegateHelper::GetWebkitPrefs( |
prefs->GetBoolean(prefs::kWebKitAllowDisplayingInsecureContent); |
web_prefs.allow_running_insecure_content = |
prefs->GetBoolean(prefs::kWebKitAllowRunningInsecureContent); |
+ web_prefs.enable_scroll_animator = |
+ command_line.HasSwitch(switches::kEnableSmoothScrolling); |
// The user stylesheet watcher may not exist in a testing profile. |
if (profile->GetUserStyleSheetWatcher()) { |