diff options
author | robertphillips <robertphillips@google.com> | 2016-04-15 07:57:40 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-15 07:57:40 -0700 |
commit | 534c270465a9824893d5c9d6c5bacef7726cc389 (patch) | |
tree | 8d189a3c806f2fc2232cd6bea5bc344cd9b53c3f /tests/ImageFilterTest.cpp | |
parent | bfe11fc9a6e660f83a454b6a5f5945089a4800f3 (diff) |
Update TileImageFilter to sk_sp
TBR=reed@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1882113002
Review URL: https://codereview.chromium.org/1882113002
Diffstat (limited to 'tests/ImageFilterTest.cpp')
-rw-r--r-- | tests/ImageFilterTest.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp index 172f84fa77..e92fef50d1 100644 --- a/tests/ImageFilterTest.cpp +++ b/tests/ImageFilterTest.cpp @@ -222,10 +222,10 @@ public: cropRect)); this->addFilter("dilate", SkDilateImageFilter::Make(3, 2, input, cropRect)); this->addFilter("erode", SkErodeImageFilter::Make(2, 3, input, cropRect)); - this->addFilter("tile", sk_sp<SkImageFilter>(SkTileImageFilter::Create( - SkRect::MakeXYWH(0, 0, 50, 50), - cropRect ? cropRect->rect() : SkRect::MakeXYWH(0, 0, 100, 100), - input.get()))); + this->addFilter("tile", SkTileImageFilter::Make( + SkRect::MakeXYWH(0, 0, 50, 50), + cropRect ? cropRect->rect() : SkRect::MakeXYWH(0, 0, 100, 100), + input)); if (!cropRect) { SkMatrix matrix; |