| Index: include/core/SkPaint.h
|
| diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
|
| index bb5eff4d91cc47084e3e92ad5145e7c6a1d3e367..d5c750666de009cec068f67528dda69733958b50 100644
|
| --- a/include/core/SkPaint.h
|
| +++ b/include/core/SkPaint.h
|
| @@ -14,9 +14,6 @@
|
| #include "SkMatrix.h"
|
| #include "SkXfermode.h"
|
|
|
| -// TODO: clean up Skia internals so we can remove this and only keep it for clients
|
| -#define SK_SUPPORT_LEGACY_FILTERLEVEL_ENUM
|
| -
|
| class SkAnnotation;
|
| class SkAutoGlyphCache;
|
| class SkColorFilter;
|
| @@ -338,6 +335,7 @@ public:
|
| */
|
| void setFilterQuality(SkFilterQuality quality);
|
|
|
| +#ifdef SK_SUPPORT_LEGACY_FILTERLEVEL_ENUM
|
| /**
|
| * If the predicate is true, set the filterLevel to Low, else set it to
|
| * None.
|
| @@ -354,6 +352,7 @@ public:
|
| bool isFilterBitmap() const {
|
| return kNone_FilterLevel != this->getFilterLevel();
|
| }
|
| +#endif
|
|
|
| /** Styles apply to rect, oval, path, and text.
|
| Bitmaps are always drawn in "fill", and lines are always drawn in
|
|
|