Index: src/effects/SkDropShadowImageFilter.cpp |
diff --git a/src/effects/SkDropShadowImageFilter.cpp b/src/effects/SkDropShadowImageFilter.cpp |
index 92e7e2c096b1bd1525f87930f21b1b8833c6d294..31c45082b23520ee069a7a98aa534356fb883d7c 100644 |
--- a/src/effects/SkDropShadowImageFilter.cpp |
+++ b/src/effects/SkDropShadowImageFilter.cpp |
@@ -14,6 +14,17 @@ |
#include "SkSpecialSurface.h" |
#include "SkWriteBuffer.h" |
+sk_sp<SkImageFilter> SkDropShadowImageFilter::Make(SkScalar dx, SkScalar dy, |
+ SkScalar sigmaX, SkScalar sigmaY, |
+ SkColor color, ShadowMode shadowMode, |
+ sk_sp<SkImageFilter> input, |
+ const CropRect* cropRect) { |
+ return sk_sp<SkImageFilter>(new SkDropShadowImageFilter(dx, dy, sigmaX, sigmaY, |
+ color, shadowMode, |
+ std::move(input), |
+ cropRect)); |
+} |
+ |
SkDropShadowImageFilter::SkDropShadowImageFilter(SkScalar dx, SkScalar dy, |
SkScalar sigmaX, SkScalar sigmaY, SkColor color, |
ShadowMode shadowMode, sk_sp<SkImageFilter> input, |