Index: webkit/glue/webpreferences.cc |
diff --git a/webkit/glue/webpreferences.cc b/webkit/glue/webpreferences.cc |
index f55ec5f426f00a4bbf46af198c2457c2cf2edca3..362c21229db26efc666c9e17f912b89bddf6e2ff 100644 |
--- a/webkit/glue/webpreferences.cc |
+++ b/webkit/glue/webpreferences.cc |
@@ -81,7 +81,8 @@ WebPreferences::WebPreferences() |
fullscreen_enabled(false), |
allow_displaying_insecure_content(true), |
allow_running_insecure_content(false), |
- should_print_backgrounds(false) { |
+ should_print_backgrounds(false), |
+ enable_scroll_animator(false) { |
} |
WebPreferences::~WebPreferences() { |
@@ -231,4 +232,5 @@ void WebPreferences::Apply(WebView* web_view) const { |
settings->setAllowDisplayOfInsecureContent(allow_displaying_insecure_content); |
settings->setAllowRunningOfInsecureContent(allow_running_insecure_content); |
settings->setShouldPrintBackgrounds(should_print_backgrounds); |
+ settings->setEnableScrollAnimator(enable_scroll_animator); |
} |