Index: include/effects/Sk1DPathEffect.h |
diff --git a/include/effects/Sk1DPathEffect.h b/include/effects/Sk1DPathEffect.h |
index 3419dc23b7458fb084b83339e9a287a51d12ad52..c8328881a0f60676e53d18bf6f0c28cf52d10daa 100644 |
--- a/include/effects/Sk1DPathEffect.h |
+++ b/include/effects/Sk1DPathEffect.h |
@@ -45,8 +45,6 @@ public: |
kTranslate_Style, // translate the shape to each position |
kRotate_Style, // rotate the shape about its center |
kMorph_Style, // transform each point, and turn lines into curves |
- |
- kStyleCount |
}; |
/** Dash by replicating the specified path. |
@@ -56,9 +54,7 @@ public: |
@param style how to transform path at each point (based on the current |
position and tangent) |
*/ |
- static SkPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, Style style) { |
- return new SkPath1DPathEffect(path, advance, phase, style); |
- } |
+ static SkPathEffect* Create(const SkPath& path, SkScalar advance, SkScalar phase, Style); |
virtual bool filterPath(SkPath*, const SkPath&, |
SkStrokeRec*, const SkRect*) const override; |