From 385486089d32bbb97d79b25af9818d4d6c236500 Mon Sep 17 00:00:00 2001 From: Florin Malita Date: Thu, 6 Jul 2017 13:39:54 -0400 Subject: 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 Commit-Queue: Florin Malita --- include/core/SkImageFilter.h | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'include') 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; -- cgit v1.2.3