| Index: third_party/WebKit/Source/platform/graphics/Image.cpp
|
| diff --git a/third_party/WebKit/Source/platform/graphics/Image.cpp b/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| index d930750d1e5a688a23af043f0892e03b0f66f83d..5a203177da172e5e657c9e4b5e0e87438824655b 100644
|
| --- a/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| +++ b/third_party/WebKit/Source/platform/graphics/Image.cpp
|
| @@ -51,10 +51,11 @@
|
|
|
| namespace blink {
|
|
|
| -Image::Image(ImageObserver* observer)
|
| +Image::Image(ImageObserver* observer, bool is_multipart)
|
| : image_observer_disabled_(false),
|
| image_observer_(observer),
|
| - stable_image_id_(PaintImage::GetNextId()) {}
|
| + stable_image_id_(PaintImage::GetNextId()),
|
| + is_multipart_(is_multipart) {}
|
|
|
| Image::~Image() {}
|
|
|
| @@ -350,7 +351,7 @@ PaintImage Image::PaintImageForCurrentFrame() {
|
| ? PaintImage::CompletionState::DONE
|
| : PaintImage::CompletionState::PARTIALLY_DONE;
|
| return PaintImage(stable_image_id_, ImageForCurrentFrame(), animation_type,
|
| - completion_state, FrameCount());
|
| + completion_state, FrameCount(), is_multipart_);
|
| }
|
|
|
| bool Image::ApplyShader(PaintFlags& flags, const SkMatrix& local_matrix) {
|
|
|