aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core/SkCanvas.h7
-rw-r--r--include/core/SkPostConfig.h8
2 files changed, 0 insertions, 15 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h
index a259e531f3..37896dea45 100644
--- a/include/core/SkCanvas.h
+++ b/include/core/SkCanvas.h
@@ -1157,18 +1157,12 @@ public:
}
//////////////////////////////////////////////////////////////////////////
-#ifdef SK_INTERNAL
-#ifndef SK_SUPPORT_LEGACY_DRAWFILTER
- #define SK_SUPPORT_LEGACY_DRAWFILTER
-#endif
-#endif
#ifdef SK_SUPPORT_LEGACY_DRAWFILTER
/** Get the current filter object. The filter's reference count is not
affected. The filter is saved/restored, just like the matrix and clip.
@return the canvas' filter (or NULL).
*/
- SK_ATTR_EXTERNALLY_DEPRECATED("getDrawFilter use is deprecated")
SkDrawFilter* getDrawFilter() const;
/** Set the new filter (or NULL). Pass NULL to clear any existing filter.
@@ -1179,7 +1173,6 @@ public:
@param filter the new filter (or NULL)
@return the new filter
*/
- SK_ATTR_EXTERNALLY_DEPRECATED("setDrawFilter use is deprecated")
virtual SkDrawFilter* setDrawFilter(SkDrawFilter* filter);
#endif
//////////////////////////////////////////////////////////////////////////
diff --git a/include/core/SkPostConfig.h b/include/core/SkPostConfig.h
index c34397cde6..0bf33d478a 100644
--- a/include/core/SkPostConfig.h
+++ b/include/core/SkPostConfig.h
@@ -248,14 +248,6 @@
# define SK_ATTR_DEPRECATED(msg) SK_ATTRIBUTE(deprecated)
#endif
-#if !defined(SK_ATTR_EXTERNALLY_DEPRECATED)
-# if !defined(SK_INTERNAL)
-# define SK_ATTR_EXTERNALLY_DEPRECATED(msg) SK_ATTR_DEPRECATED(msg)
-# else
-# define SK_ATTR_EXTERNALLY_DEPRECATED(msg)
-# endif
-#endif
-
/**
* If your judgment is better than the compiler's (i.e. you've profiled it),
* you can use SK_ALWAYS_INLINE to force inlining. E.g.