diff options
Diffstat (limited to 'include/core/SkAnnotation.h')
-rw-r--r-- | include/core/SkAnnotation.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/core/SkAnnotation.h b/include/core/SkAnnotation.h index 9814f8f76f..4d17b79004 100644 --- a/include/core/SkAnnotation.h +++ b/include/core/SkAnnotation.h @@ -24,18 +24,9 @@ struct SkPoint; */ class SkAnnotation : public SkRefCnt { public: - enum Flags { - // If set, the associated drawing primitive should not be drawn - kNoDraw_Flag = 1 << 0, - }; - - SkAnnotation(const char key[], SkData* value, uint32_t flags); + SkAnnotation(const char key[], SkData* value); virtual ~SkAnnotation(); - uint32_t getFlags() const { return fFlags; } - - bool isNoDraw() const { return SkToBool(fFlags & kNoDraw_Flag); } - /** * Return the data for the specified key, or NULL. */ @@ -47,7 +38,6 @@ public: private: SkString fKey; SkData* fData; - uint32_t fFlags; typedef SkRefCnt INHERITED; }; |