Index: src/effects/SkDashPathEffect.cpp |
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp |
index 4aa46ab6bf10f277a81a4bc48e5a203030e89d4e..40990585024730af184931f0f53f014b855771bf 100644 |
--- a/src/effects/SkDashPathEffect.cpp |
+++ b/src/effects/SkDashPathEffect.cpp |
@@ -555,5 +555,5 @@ SkDashPathEffect::SkDashPathEffect(SkFlattenableReadBuffer& buffer) : INHERITED( |
fCount = buffer.getArrayCount(); |
fIntervals = (SkScalar*)sk_malloc_throw(sizeof(SkScalar) * fCount); |
- buffer.readScalarArray(fIntervals); |
+ buffer.readScalarArray(fIntervals, fCount); |
} |