aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/effects
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2016-04-15 09:58:37 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-15 09:58:37 -0700
commit6b13473dd4d5915309cc2caddbab2e22f2f21d5f (patch)
treeaac273be1dd6cf09cc94d103b739a35c65673650 /src/effects
parent86498fbfcb93a9048bbe1c28cc0df40d8d0c96e9 (diff)
Move SkImageFilter over to storing sk_sps
Diffstat (limited to 'src/effects')
-rw-r--r--src/effects/SkImageSource.cpp4
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)