Index: src/effects/SkTableMaskFilter.cpp |
diff --git a/src/effects/SkTableMaskFilter.cpp b/src/effects/SkTableMaskFilter.cpp |
index 5bff4def299ea343e5945dd9218863c03c51b136..8d3b81a3119c34ed4d8d8548c4e2ea6e70e85bf3 100644 |
--- a/src/effects/SkTableMaskFilter.cpp |
+++ b/src/effects/SkTableMaskFilter.cpp |
@@ -77,7 +77,7 @@ void SkTableMaskFilter::flatten(SkFlattenableWriteBuffer& wb) const { |
SkTableMaskFilter::SkTableMaskFilter(SkFlattenableReadBuffer& rb) |
: INHERITED(rb) { |
SkASSERT(256 == rb.getArrayCount()); |
- rb.readByteArray(fTable); |
+ rb.readByteArray(fTable, 256); |
} |
/////////////////////////////////////////////////////////////////////////////// |