diff options
Diffstat (limited to 'include/effects/Sk2DPathEffect.h')
-rw-r--r-- | include/effects/Sk2DPathEffect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/effects/Sk2DPathEffect.h b/include/effects/Sk2DPathEffect.h index fa12dcf095..73da83c4b9 100644 --- a/include/effects/Sk2DPathEffect.h +++ b/include/effects/Sk2DPathEffect.h @@ -55,7 +55,7 @@ private: class SK_API SkLine2DPathEffect : public Sk2DPathEffect { public: - static SkLine2DPathEffect* Create(SkScalar width, const SkMatrix& matrix) { + static SkPathEffect* Create(SkScalar width, const SkMatrix& matrix) { return new SkLine2DPathEffect(width, matrix); } @@ -84,7 +84,7 @@ public: * Stamp the specified path to fill the shape, using the matrix to define * the latice. */ - static SkPath2DPathEffect* Create(const SkMatrix& matrix, const SkPath& path) { + static SkPathEffect* Create(const SkMatrix& matrix, const SkPath& path) { return new SkPath2DPathEffect(matrix, path); } |