Index: src/core/SkImageFilter.cpp |
diff --git a/src/core/SkImageFilter.cpp b/src/core/SkImageFilter.cpp |
index c7a570121b9a4d96f99244c1f7afa417f8f5cd1d..9e215258fdab2657b4bfafd055d9beb603f19ffb 100644 |
--- a/src/core/SkImageFilter.cpp |
+++ b/src/core/SkImageFilter.cpp |
@@ -277,7 +277,7 @@ sk_sp<SkSpecialImage> SkImageFilter::DrawWithFP(GrContext* context, |
sk_sp<GrFragmentProcessor> fp, |
const SkIRect& bounds) { |
GrPaint paint; |
- paint.addColorFragmentProcessor(fp.get()); |
+ paint.addColorFragmentProcessor(std::move(fp)); |
paint.setPorterDuffXPFactory(SkXfermode::kSrc_Mode); |
sk_sp<GrDrawContext> drawContext(context->newDrawContext(SkBackingFit::kApprox, |