| Index: cc/paint/paint_image.cc
|
| diff --git a/cc/paint/paint_image.cc b/cc/paint/paint_image.cc
|
| index a13b972b88bdcb5fd33b5ff6abfa56b98d887f65..d751b4773d778e06b0151a1f605082a89c7570e3 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_multipart)
|
| : 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_multipart_(is_multipart) {}
|
| PaintImage::PaintImage(const PaintImage& other) = default;
|
| PaintImage::PaintImage(PaintImage&& other) = default;
|
| PaintImage::~PaintImage() = default;
|
| @@ -32,7 +34,8 @@ bool PaintImage::operator==(const PaintImage& other) const {
|
| return id_ == other.id_ && sk_image_ == other.sk_image_ &&
|
| animation_type_ == other.animation_type_ &&
|
| completion_state_ == other.completion_state_ &&
|
| - frame_count_ == other.frame_count_;
|
| + frame_count_ == other.frame_count_ &&
|
| + is_multipart_ == other.is_multipart_;
|
| }
|
|
|
| PaintImage::Id PaintImage::GetNextId() {
|
|
|