| Index: src/animator/SkDrawExtraPathEffect.cpp
|
| diff --git a/src/animator/SkDrawExtraPathEffect.cpp b/src/animator/SkDrawExtraPathEffect.cpp
|
| index cc097d0a9ecd3e094577fe942bdbee3aea6ba831..dc586055a72b7afaf2168b4e2885016c5ae61fc4 100644
|
| --- a/src/animator/SkDrawExtraPathEffect.cpp
|
| +++ b/src/animator/SkDrawExtraPathEffect.cpp
|
| @@ -89,7 +89,8 @@ public:
|
| fDraw(draw), fMaker(maker) {
|
| }
|
|
|
| - SK_DECLARE_UNFLATTENABLE_OBJECT()
|
| + // For serialization. This will never be called.
|
| + Factory getFactory() const SK_OVERRIDE { sk_throw(); return NULL; }
|
|
|
| protected:
|
| virtual SkScalar begin(SkScalar contourLength) const SK_OVERRIDE {
|
| @@ -228,6 +229,9 @@ public:
|
| const SkMatrix& matrix) : Sk2DPathEffect(matrix), fDraw(draw), fMaker(maker) {
|
| }
|
|
|
| + // For serialization. This will never be called.
|
| + Factory getFactory() const SK_OVERRIDE { sk_throw(); return NULL; }
|
| +
|
| protected:
|
| virtual void begin(const SkIRect& uvBounds, SkPath*) const SK_OVERRIDE {
|
| const_cast<SkShape2DPathEffect*>(this)->setUVBounds(uvBounds);
|
|
|