Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: include/effects/Sk2DPathEffect.h

Issue 25430005: Fix for potential typedef issue Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/effects/Sk1DPathEffect.h ('k') | include/effects/SkAvoidXfermode.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « include/effects/Sk1DPathEffect.h ('k') | include/effects/SkAvoidXfermode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698