Index: src/effects/SkPaintImageFilter.cpp |
diff --git a/src/effects/SkPaintImageFilter.cpp b/src/effects/SkPaintImageFilter.cpp |
index f561928684a8ca2644c621424a699333ca5aca29..8833629eed276007dc187de3847e14577ce938a0 100644 |
--- a/src/effects/SkPaintImageFilter.cpp |
+++ b/src/effects/SkPaintImageFilter.cpp |
@@ -12,6 +12,11 @@ |
#include "SkSpecialSurface.h" |
#include "SkWriteBuffer.h" |
+sk_sp<SkImageFilter> SkPaintImageFilter::Make(const SkPaint& paint, |
+ const CropRect* cropRect) { |
+ return sk_sp<SkImageFilter>(new SkPaintImageFilter(paint, cropRect)); |
+} |
+ |
SkPaintImageFilter::SkPaintImageFilter(const SkPaint& paint, const CropRect* cropRect) |
: INHERITED(nullptr, 0, cropRect) |
, fPaint(paint) { |