Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 14901d8edd8aec94aa881820df79dd78f062d9c3..81526faa63e075dfe2b194c060c0fa6fbdbad6d2 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -1065,6 +1065,9 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs, |
settings->setV8CacheOptions( |
static_cast<WebSettings::V8CacheOptions>(prefs.v8_cache_options)); |
+ settings->setImageAnimationPolicy( |
+ static_cast<WebSettings::ImageAnimationPolicy>(prefs.animation_policy)); |
+ |
// Needs to happen before setIgnoreVIewportTagScaleLimits below. |
web_view->setDefaultPageScaleLimits( |
prefs.default_minimum_page_scale_factor, |