| Index: samplecode/ClockFaceView.cpp
|
| diff --git a/samplecode/ClockFaceView.cpp b/samplecode/ClockFaceView.cpp
|
| index 9cee95b84c36fd19829afa98faa1df90959f18f6..ef0fec75774034849bdfe84f243f406a316f9125 100644
|
| --- a/samplecode/ClockFaceView.cpp
|
| +++ b/samplecode/ClockFaceView.cpp
|
| @@ -72,14 +72,7 @@
|
| : Sk2DPathEffect(matrix), fRadius(radius), fPts(pts) {}
|
|
|
| SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(Dot2DPathEffect)
|
| - class Registrar {
|
| - public:
|
| - Registrar() {
|
| - SkFlattenable::Register("Dot2DPathEffect",
|
| - Dot2DPathEffect::CreateProc,
|
| - Dot2DPathEffect::GetFlattenableType());
|
| - }
|
| - };
|
| +
|
| protected:
|
| void begin(const SkIRect& uvBounds, SkPath* dst) const override {
|
| if (fPts) {
|
| @@ -107,8 +100,6 @@
|
|
|
| typedef Sk2DPathEffect INHERITED;
|
| };
|
| -
|
| -static Dot2DPathEffect::Registrar gReg0;
|
|
|
| sk_sp<SkFlattenable> Dot2DPathEffect::CreateProc(SkReadBuffer& buffer) {
|
| SkMatrix matrix;
|
|
|