Index: gm/coloremoji.cpp |
diff --git a/gm/coloremoji.cpp b/gm/coloremoji.cpp |
index 5132d71ae048b4ae2ae67c5e4e8caebc7275054f..ebb3c6715c70855859619f4646055234f19c31e1 100644 |
--- a/gm/coloremoji.cpp |
+++ b/gm/coloremoji.cpp |
@@ -35,7 +35,7 @@ static sk_sp<SkImageFilter> make_grayscale(sk_sp<SkImageFilter> input) { |
matrix[2] = matrix[7] = matrix[12] = 0.0722f; |
matrix[18] = 1.0f; |
sk_sp<SkColorFilter> filter(SkColorFilter::MakeMatrixFilterRowMajor255(matrix)); |
- return sk_sp<SkImageFilter>(SkColorFilterImageFilter::Create(filter.get(), input.get())); |
+ return SkColorFilterImageFilter::Make(std::move(filter), std::move(input)); |
} |
static sk_sp<SkImageFilter> make_blur(float amount, sk_sp<SkImageFilter> input) { |