Index: src/core/SkRecordDraw.cpp |
diff --git a/src/core/SkRecordDraw.cpp b/src/core/SkRecordDraw.cpp |
index 65455864991888d723ccd696d89432debd48c667..295259131920b841b13ab64af8397084b5bb7b47 100644 |
--- a/src/core/SkRecordDraw.cpp |
+++ b/src/core/SkRecordDraw.cpp |
@@ -106,6 +106,7 @@ 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; |
fCanvas->drawImageLattice(r.image.get(), lattice, r.dst, r.paint); |
} |