Index: content/public/common/web_preferences.cc |
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc |
index 8efb6d00cd3a3a021aad3c5d7aea08e7e4f19a63..f5fc16aa6bc692560080c690fe69e97c602a543d 100644 |
--- a/content/public/common/web_preferences.cc |
+++ b/content/public/common/web_preferences.cc |
@@ -62,6 +62,16 @@ COMPILE_ASSERT_MATCHING_ENUMS( |
V8_SCRIPT_STREAMING_MODE_LAST, |
WebSettings::V8ScriptStreamingModeAllPlusBlockParsingBlocking); |
+COMPILE_ASSERT_MATCHING_ENUMS( |
+ IMAGE_ANIMATION_POLICY_ALLOWED, |
+ WebSettings::ImageAnimationPolicyAllowed); |
+COMPILE_ASSERT_MATCHING_ENUMS( |
+ IMAGE_ANIMATION_POLICY_ANIMATION_ONCE, |
+ WebSettings::ImageAnimationPolicyAnimateOnce); |
+COMPILE_ASSERT_MATCHING_ENUMS( |
+ IMAGE_ANIMATION_POLICY_NO_ANIMATION, |
+ WebSettings::ImageAnimationPolicyNoAnimation); |
+ |
COMPILE_ASSERT_MATCHING_ENUMS(ui::POINTER_TYPE_NONE, |
WebSettings::PointerTypeNone); |
COMPILE_ASSERT_MATCHING_ENUMS(ui::POINTER_TYPE_COARSE, |
@@ -184,7 +194,8 @@ WebPreferences::WebPreferences() |
v8_script_streaming_mode(V8_SCRIPT_STREAMING_MODE_ALL), |
slimming_paint_enabled(false), |
cookie_enabled(true), |
- pepper_accelerated_video_decode_enabled(false) |
+ pepper_accelerated_video_decode_enabled(false), |
+ animation_policy(IMAGE_ANIMATION_POLICY_ALLOWED) |
#if defined(OS_ANDROID) |
, |
text_autosizing_enabled(true), |