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

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: 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..9eb728c32d3a2e0faa970a6f596d75877b4e56d5 100644
--- a/blimp/engine/app/engine_settings.cc
+++ b/blimp/engine/app/engine_settings.cc
@@ -7,7 +7,15 @@
namespace blimp {
namespace engine {
-EngineSettings::EngineSettings() : record_whole_document(false) {}
+EngineSettings::EngineSettings()
+ : record_whole_document(false),
+ // The default animation policy for images is no animation. This means
+ // that
+ // only the first frame will be shown.
Wez 2016/04/20 23:09:06 Weird line-wrap? This comment seems unnecessarily
Khushal 2016/04/21 00:21:25 Done.
+ // See third_party/WebKit/Source/platform/graphics/ImageAnimationPolicy.h
+ // for details.
+ animation_policy(
+ content::ImageAnimationPolicy::IMAGE_ANIMATION_POLICY_NO_ANIMATION) {}
EngineSettings::~EngineSettings() {}

Powered by Google App Engine
This is Rietveld 408576698