Index: gm/imagefiltersgraph.cpp |
diff --git a/gm/imagefiltersgraph.cpp b/gm/imagefiltersgraph.cpp |
index ee2f7bf92b6b57e264f30b722edf0723e7c28fd7..dd9c37c093e57ae3e02880f52bb2878fc65929a7 100644 |
--- a/gm/imagefiltersgraph.cpp |
+++ b/gm/imagefiltersgraph.cpp |
@@ -148,7 +148,7 @@ |
SkPaint paint; |
paint.setImageFilter(SkXfermodeImageFilter::Make( |
SkXfermode::Make(SkXfermode::kSrcOver_Mode), |
- std::move(colorMorph))); |
+ colorMorph.get())); |
DrawClippedImage(canvas, fImage.get(), paint); |
canvas->translate(SkIntToScalar(100), 0); |
@@ -165,9 +165,7 @@ |
SkPaint paint; |
paint.setImageFilter( |
SkXfermodeImageFilter::Make(SkArithmeticMode::Make(0, SK_Scalar1, SK_Scalar1, 0), |
- std::move(matrixFilter), |
- std::move(offsetFilter), |
- nullptr)); |
+ matrixFilter.get(), offsetFilter.get(), nullptr)); |
DrawClippedImage(canvas, fImage.get(), paint); |
canvas->translate(SkIntToScalar(100), 0); |
@@ -180,8 +178,7 @@ |
SkImageFilter::CropRect cropRect(SkRect::MakeWH(SkIntToScalar(95), SkIntToScalar(100))); |
SkPaint paint; |
paint.setImageFilter( |
- SkXfermodeImageFilter::Make(SkXfermode::Make(SkXfermode::kSrcIn_Mode), |
- std::move(blur), |
+ SkXfermodeImageFilter::Make(SkXfermode::Make(SkXfermode::kSrcIn_Mode), blur.get(), |
nullptr, &cropRect)); |
DrawClippedImage(canvas, fImage.get(), paint); |
canvas->translate(SkIntToScalar(100), 0); |