Index: samplecode/ClockFaceView.cpp |
diff --git a/samplecode/ClockFaceView.cpp b/samplecode/ClockFaceView.cpp |
index 1e9b89e9de698ea0235c76bac2f36ee5e5729fc9..4e9e2e3330e09f73847d5a0789a3e939c1e411f8 100644 |
--- a/samplecode/ClockFaceView.cpp |
+++ b/samplecode/ClockFaceView.cpp |
@@ -71,7 +71,7 @@ public: |
SkTDArray<SkPoint>* pts) |
: Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {} |
- SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(Dot2DPathEffect) |
+ SK_DEFINE_FLATTENABLE_TYPE(Dot2DPathEffect) |
protected: |
virtual void begin(const SkIRect& uvBounds, SkPath* dst) const SK_OVERRIDE { |
@@ -115,7 +115,7 @@ public: |
dst->setFillType(SkPath::kInverseWinding_FillType); |
return true; |
} |
- SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(InverseFillPE) |
+ SK_DEFINE_FLATTENABLE_TYPE(InverseFillPE) |
protected: |
InverseFillPE(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} |