aboutsummaryrefslogtreecommitdiffstats
path: root/gm/imagefilterscropexpand.cpp
diff options
context:
space:
mode:
authorrobertphillips <robertphillips@google.com>2016-04-06 08:40:59 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-06 08:40:59 -0700
commitc416912da4840af0c49bd8cdcf00044ed39500f6 (patch)
tree2da9d5261c5a85c660a0fea0beae63f5dd7e83b4 /gm/imagefilterscropexpand.cpp
parent885b677b10b88ba1eebecd1c2795702b88f63d39 (diff)
downloadplatform_external_skqp-c416912da4840af0c49bd8cdcf00044ed39500f6.tar.gz
platform_external_skqp-c416912da4840af0c49bd8cdcf00044ed39500f6.tar.bz2
platform_external_skqp-c416912da4840af0c49bd8cdcf00044ed39500f6.zip
Update DropShadowImageFilter to sk_sp
TBR=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1861843002 Review URL: https://codereview.chromium.org/1861843002
Diffstat (limited to 'gm/imagefilterscropexpand.cpp')
-rw-r--r--gm/imagefilterscropexpand.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gm/imagefilterscropexpand.cpp b/gm/imagefilterscropexpand.cpp
index 907277fc6a..6f749dc7e5 100644
--- a/gm/imagefilterscropexpand.cpp
+++ b/gm/imagefilterscropexpand.cpp
@@ -96,15 +96,15 @@ protected:
&bigRect));
Draw(canvas, checkerboard, rect,
- sk_sp<SkImageFilter>(SkDropShadowImageFilter::Create(
+ SkDropShadowImageFilter::Make(
SkIntToScalar(10),
SkIntToScalar(10),
SkIntToScalar(3),
SkIntToScalar(3),
SK_ColorBLUE,
SkDropShadowImageFilter::kDrawShadowAndForeground_ShadowMode,
- noopCropped.get(),
- &bigRect)));
+ noopCropped,
+ &bigRect));
Draw(canvas, checkerboard, rect,
sk_sp<SkImageFilter>(SkDisplacementMapEffect::Create(