diff options
author | robertphillips <robertphillips@google.com> | 2016-04-15 09:58:37 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-15 09:58:37 -0700 |
commit | 6b13473dd4d5915309cc2caddbab2e22f2f21d5f (patch) | |
tree | aac273be1dd6cf09cc94d103b739a35c65673650 /src/effects | |
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 'src/effects')
-rw-r--r-- | src/effects/SkImageSource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/effects/SkImageSource.cpp b/src/effects/SkImageSource.cpp index 6a4eb8d3aa..223c2a7b4b 100644 --- a/src/effects/SkImageSource.cpp +++ b/src/effects/SkImageSource.cpp @@ -17,7 +17,7 @@ SkImageSource::SkImageSource(sk_sp<SkImage> image) - : INHERITED(0, nullptr) + : INHERITED(nullptr, 0, nullptr) , fImage(std::move(image)) , fSrcRect(SkRect::MakeIWH(fImage->width(), fImage->height())) , fDstRect(fSrcRect) @@ -28,7 +28,7 @@ SkImageSource::SkImageSource(sk_sp<SkImage> image, const SkRect& srcRect, const SkRect& dstRect, SkFilterQuality filterQuality) - : INHERITED(0, nullptr) + : INHERITED(nullptr, 0, nullptr) , fImage(std::move(image)) , fSrcRect(srcRect) , fDstRect(dstRect) |