Index: samplecode/ClockFaceView.cpp |
diff --git a/samplecode/ClockFaceView.cpp b/samplecode/ClockFaceView.cpp |
index 6e2b2b158519ef2acefcb126bc087c7c1d62d2f8..ae8c7ad3a64229b5d1a44d45403c90dd1ca20a55 100644 |
--- a/samplecode/ClockFaceView.cpp |
+++ b/samplecode/ClockFaceView.cpp |
@@ -90,8 +90,8 @@ protected: |
} |
void flatten(SkWriteBuffer& buffer) const override { |
- buffer.writeMatrix(this->getMatrix()); |
- buffer.writeScalar(fRadius); |
+ buffer.writeMatrix("matrix", this->getMatrix()); |
+ buffer.writeScalar("fRadius", fRadius); |
} |
private: |