aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar Florin Malita <fmalita@chromium.org>2017-07-06 13:39:54 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-06 18:03:36 +0000
commit385486089d32bbb97d79b25af9818d4d6c236500 (patch)
tree71a8c10773defee01f3e10b472f20603fc633b4b /include
parentc91e3877a57ef140b688627b8c0acaafbefc9034 (diff)
Unfriend SkImageFilter subclasses
Subclasses should call SkColorSpaceXformer::apply methods, not makeColorSpace(). Change-Id: I64732641b90dd3f82e331adfd36f2c60dcf996b2 Reviewed-on: https://skia-review.googlesource.com/21724 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/core/SkImageFilter.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index af9561bc23..9fd370dad6 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -412,26 +412,7 @@ protected:
private:
// For makeColorSpace().
- friend class ArithmeticImageFilterImpl;
- friend class SkAlphaThresholdFilterImpl;
- friend class SkBlurImageFilterImpl;
- friend class SkColorFilterImageFilter;
friend class SkColorSpaceXformer;
- friend class SkComposeImageFilter;
- friend class SkDiffuseLightingImageFilter;
- friend class SkDisplacementMapEffect;
- friend class SkDropShadowImageFilter;
- friend class SkImageSource;
- friend class SkMagnifierImageFilter;
- friend class SkMatrixConvolutionImageFilter;
- friend class SkMatrixImageFilter;
- friend class SkLocalMatrixImageFilter;
- friend class SkMergeImageFilter;
- friend class SkMorphologyImageFilter;
- friend class SkOffsetImageFilter;
- friend class SkSpecularLightingImageFilter;
- friend class SkTileImageFilter;
- friend class SkXfermodeImageFilter_Base;
friend class SkGraphics;