Index: include/core/SkColorShader.h |
diff --git a/include/core/SkColorShader.h b/include/core/SkColorShader.h |
index c3790682e4b06c527ff0d4f9dc489ec2e72394d4..8560880141f6d5c4439b53f3c3278e13e12d202a 100644 |
--- a/include/core/SkColorShader.h |
+++ b/include/core/SkColorShader.h |
@@ -18,6 +18,8 @@ |
actual shader object is needed, this provides that feature. |
*/ |
class SK_API SkColorShader : public SkShader { |
+ typedef SkShader INHERITED; |
+ |
public: |
/** Create a ColorShader that will inherit its color from the Paint |
at draw time. |
@@ -62,8 +64,6 @@ private: |
uint32_t fFlags; // cached after setContext() |
uint16_t fColor16; // cached after setContext() |
SkBool8 fInheritColor; |
- |
- typedef SkShader INHERITED; |
}; |
#endif |