Index: src/effects/SkDashPathEffect.cpp |
diff --git a/src/effects/SkDashPathEffect.cpp b/src/effects/SkDashPathEffect.cpp |
index 90af32ec5b0fb6686699271f2c888704207a65d4..c68f525c7471c12cc04a64824bb3ff5d4c828c13 100644 |
--- a/src/effects/SkDashPathEffect.cpp |
+++ b/src/effects/SkDashPathEffect.cpp |
@@ -356,8 +356,8 @@ SkPathEffect::DashType SkDashPathEffect::asADash(DashInfo* info) const { |
} |
void SkDashPathEffect::flatten(SkWriteBuffer& buffer) const { |
- buffer.writeScalar(fPhase); |
- buffer.writeScalarArray(fIntervals, fCount); |
+ buffer.writeScalar("fPhase", fPhase); |
+ buffer.writeScalarArray("fIntervals", fIntervals, fCount); |
} |
sk_sp<SkFlattenable> SkDashPathEffect::CreateProc(SkReadBuffer& buffer) { |