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

Unified Diff: cc/paint/paint_image.cc

Issue 2939243002: cc/blink: Veto checker-imaging for multipart image resources. (Closed)
Patch Set: Created 3 years, 6 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: cc/paint/paint_image.cc
diff --git a/cc/paint/paint_image.cc b/cc/paint/paint_image.cc
index a13b972b88bdcb5fd33b5ff6abfa56b98d887f65..704f798d68bb77fcf86f3172d53d31512903db27 100644
--- a/cc/paint/paint_image.cc
+++ b/cc/paint/paint_image.cc
@@ -15,12 +15,14 @@ PaintImage::PaintImage(Id id,
sk_sp<SkImage> sk_image,
AnimationType animation_type,
CompletionState completion_state,
- size_t frame_count)
+ size_t frame_count,
+ bool is_multi_part)
: id_(id),
sk_image_(std::move(sk_image)),
animation_type_(animation_type),
completion_state_(completion_state),
- frame_count_(frame_count) {}
+ frame_count_(frame_count),
+ is_multi_part_(is_multi_part) {}
PaintImage::PaintImage(const PaintImage& other) = default;
PaintImage::PaintImage(PaintImage&& other) = default;
PaintImage::~PaintImage() = default;

Powered by Google App Engine
This is Rietveld 408576698