Index: src/core/SkPicturePlayback.cpp |
diff --git a/src/core/SkPicturePlayback.cpp b/src/core/SkPicturePlayback.cpp |
index 2ffb6c20d1b993ce8830462f54623c94b93050f5..63dbb5fa91e985c2f6df8bb87229bace36dc3b28 100644 |
--- a/src/core/SkPicturePlayback.cpp |
+++ b/src/core/SkPicturePlayback.cpp |
@@ -322,6 +322,9 @@ void SkPicturePlayback::handleOp(SkReadBuffer* reader, |
int flagCount = reader->readInt(); |
lattice.fFlags = (0 == flagCount) ? nullptr : (const SkCanvas::Lattice::Flags*) |
reader->skip(SkAlign4(flagCount * sizeof(SkCanvas::Lattice::Flags))); |
+ SkIRect src; |
+ reader->readIRect(&src); |
+ lattice.fBounds = &src; |
SkRect dst; |
reader->readRect(&dst); |
canvas->drawImageLattice(image, lattice, dst, paint); |