Index: include/effects/Sk2DPathEffect.h |
diff --git a/include/effects/Sk2DPathEffect.h b/include/effects/Sk2DPathEffect.h |
index ed7f674f89caba74c3106a76580314597fa655e2..22d71f75db35a6c93a0c9d528bff7f6590b8ae91 100644 |
--- a/include/effects/Sk2DPathEffect.h |
+++ b/include/effects/Sk2DPathEffect.h |
@@ -13,6 +13,8 @@ |
#include "SkMatrix.h" |
class SK_API Sk2DPathEffect : public SkPathEffect { |
+ typedef SkPathEffect INHERITED; |
+ |
public: |
Sk2DPathEffect(const SkMatrix& mat); |
@@ -53,10 +55,11 @@ private: |
Sk2DPathEffect& operator=(const Sk2DPathEffect&); |
friend class Sk2DPathEffectBlitter; |
- typedef SkPathEffect INHERITED; |
}; |
class SK_API SkLine2DPathEffect : public Sk2DPathEffect { |
+ typedef Sk2DPathEffect INHERITED; |
+ |
public: |
SkLine2DPathEffect(SkScalar width, const SkMatrix& matrix) |
: Sk2DPathEffect(matrix), fWidth(width) {} |
@@ -75,11 +78,11 @@ protected: |
private: |
SkScalar fWidth; |
- |
- typedef Sk2DPathEffect INHERITED; |
}; |
class SK_API SkPath2DPathEffect : public Sk2DPathEffect { |
+ typedef Sk2DPathEffect INHERITED; |
+ |
public: |
/** |
* Stamp the specified path to fill the shape, using the matrix to define |
@@ -97,8 +100,6 @@ protected: |
private: |
SkPath fPath; |
- |
- typedef Sk2DPathEffect INHERITED; |
}; |
#endif |