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

Unified Diff: blimp/engine/app/engine_settings.cc

Issue 1903873003: blimp: Update animation policy for images on the blimp engine. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments. Created 4 years, 8 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: blimp/engine/app/engine_settings.cc
diff --git a/blimp/engine/app/engine_settings.cc b/blimp/engine/app/engine_settings.cc
index 1df31a8446d1aa0b5d99377be611c532c82ed687..65b3a61727c30407eaad8632b2e93be3210530bc 100644
--- a/blimp/engine/app/engine_settings.cc
+++ b/blimp/engine/app/engine_settings.cc
@@ -7,7 +7,13 @@
namespace blimp {
namespace engine {
-EngineSettings::EngineSettings() : record_whole_document(false) {}
+EngineSettings::EngineSettings()
+ : record_whole_document(false),
+ // Disable animation in images by default.
+ // See third_party/WebKit/Source/platform/graphics/ImageAnimationPolicy.h
+ // for details.
Wez 2016/04/21 00:40:28 nit: I don't think you need the ImageAnimationPoli
Khushal 2016/04/21 01:20:17 Done.
+ animation_policy(
+ content::ImageAnimationPolicy::IMAGE_ANIMATION_POLICY_NO_ANIMATION) {}
EngineSettings::~EngineSettings() {}

Powered by Google App Engine
This is Rietveld 408576698