commit | 5605b56afa5bd89f3148b397318b616fccfd4004 | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Tue Apr 05 11:50:42 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Apr 05 11:50:42 2016 -0700 |
tree | 67be71f4ab5e83d081c1531daeba3caf7dafeb4c | |
parent | 235cbf23c4836f87a4d53ac48345942ff605a739 [diff] [blame] |
Update SkColorFilterImageFilter to sk_sp TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1858813002 Review URL: https://codereview.chromium.org/1858813002
diff --git a/gm/coloremoji.cpp b/gm/coloremoji.cpp index 5132d71..ebb3c67 100644 --- a/gm/coloremoji.cpp +++ b/gm/coloremoji.cpp
@@ -35,7 +35,7 @@ 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) {