Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Unified Diff: src/core/SkImageFilter.cpp

Issue 1823243002: Remove SK_SUPPORT_LEGACY_FILTERBOUNDS_RETURN. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « include/core/SkImageFilter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkImageFilter.cpp
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp
index 1c223a5b28b5a7994c804d41bcf1c9fe325ed796..edaaa16c2613926742e008ea84388fcd5eeb9d96 100644
--- a/src/core/SkImageFilter.cpp
+++ b/src/core/SkImageFilter.cpp
@@ -290,14 +290,6 @@ bool SkImageFilter::filterInputDeprecated(int index, Proxy* proxy, const SkBitma
return tmp->internal_getBM(result);
}
-#ifdef SK_SUPPORT_LEGACY_FILTERBOUNDS_RETURN
-bool SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm, SkIRect* dst,
- MapDirection direction) const {
- *dst = filterBounds(src, ctm, direction);
- return true;
-}
-#endif
-
SkIRect SkImageFilter::filterBounds(const SkIRect& src, const SkMatrix& ctm,
MapDirection direction) const {
if (kReverse_MapDirection == direction) {
« no previous file with comments | « include/core/SkImageFilter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698