diff options
author | 2016-04-15 09:58:37 -0700 | |
---|---|---|
committer | 2016-04-15 09:58:37 -0700 | |
commit | 6b13473dd4d5915309cc2caddbab2e22f2f21d5f (patch) | |
tree | aac273be1dd6cf09cc94d103b739a35c65673650 /tests/ImageFilterTest.cpp | |
parent | 86498fbfcb93a9048bbe1c28cc0df40d8d0c96e9 (diff) |
Move SkImageFilter over to storing sk_sps
This CL also removes the old bare-pointer style ctor.
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1894573002
Review URL: https://codereview.chromium.org/1894573002
Diffstat (limited to 'tests/ImageFilterTest.cpp')
-rw-r--r-- | tests/ImageFilterTest.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp index e92fef50d1..e22d636d67 100644 --- a/tests/ImageFilterTest.cpp +++ b/tests/ImageFilterTest.cpp @@ -88,8 +88,7 @@ private: class FailImageFilter : public SkImageFilter { public: - FailImageFilter() : SkImageFilter(0, nullptr) { - } + FailImageFilter() : SkImageFilter(nullptr, 0, nullptr) { } sk_sp<SkSpecialImage> onFilterImage(SkSpecialImage* source, const Context& ctx, |