Index: src/core/SkRecordDraw.cpp |
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp |
index 65455864991888d723ccd696d89432debd48c667..2ae36a3b655549a18f812b10cbf770a2c134541c 100644 |
--- a/src/core/SkRecordDraw.cpp |
+++ b/src/core/SkRecordDraw.cpp |
@@ -106,6 +106,8 @@ template <> void Draw::draw(const DrawImageLattice& r) { |
lattice.fXDivs = r.xDivs; |
lattice.fYCount = r.yCount; |
lattice.fYDivs = r.yDivs; |
+ lattice.fFlags = (0 == r.flagCount) ? nullptr : r.flags; |
+ lattice.fFlagCount = r.flagCount; |
fCanvas->drawImageLattice(r.image.get(), lattice, r.dst, r.paint); |
} |