Index: include/core/SkDrawLooper.h |
diff --git a/include/core/SkDrawLooper.h b/include/core/SkDrawLooper.h |
index 2faf28b39953ca3e6f228cdaa8913642c54d994a..2bb9e0d4cd03922b275fdff5ad9a98b20f48f929 100644 |
--- a/include/core/SkDrawLooper.h |
+++ b/include/core/SkDrawLooper.h |
@@ -26,6 +26,8 @@ class SkString; |
like shadows or frame/fills, that require more than one pass. |
*/ |
class SK_API SkDrawLooper : public SkFlattenable { |
+ typedef SkFlattenable INHERITED; |
+ |
public: |
SK_DECLARE_INST_COUNT(SkDrawLooper) |
@@ -64,13 +66,11 @@ public: |
const SkRect& src, SkRect* dst); |
SkDEVCODE(virtual void toString(SkString* str) const = 0;) |
+ SK_DEFINE_FLATTENABLE_TYPE(SkDrawLooper) |
protected: |
SkDrawLooper() {} |
SkDrawLooper(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} |
- |
-private: |
- typedef SkFlattenable INHERITED; |
}; |
#endif |