diff --git a/src/pipe/SkPipeReader.cpp b/src/pipe/SkPipeReader.cpp index 8ce99efd5f..846368e66d 100644 --- a/src/pipe/SkPipeReader.cpp +++ b/src/pipe/SkPipeReader.cpp @@ -552,8 +552,8 @@ static void drawImageLattice_handler(SkPipeReader& reader, uint32_t packedVerb, if (packedVerb & kHasFlags_DrawImageLatticeMask) { int32_t count = (lattice.fXCount + 1) * (lattice.fYCount + 1); SkASSERT(count > 0); - lattice.fRectTypes = skip(reader, SkAlign4(count)); - lattice.fColors = skip(reader, SkAlign4(count)); + lattice.fRectTypes = skip(reader, count); + lattice.fColors = skip(reader, count); } else { lattice.fRectTypes = nullptr; lattice.fColors = nullptr;