Index: gm/imagefiltersgraph.cpp |
diff --git a/gm/imagefiltersgraph.cpp b/gm/imagefiltersgraph.cpp |
index e7abdcfc0ff64e660eb080e6837fd66de7910da8..537287124a19b43f52776a11f23c90ec5147c8e5 100644 |
--- a/gm/imagefiltersgraph.cpp |
+++ b/gm/imagefiltersgraph.cpp |
@@ -118,7 +118,7 @@ protected: |
void onDraw(SkCanvas* canvas) override { |
canvas->clear(SK_ColorBLACK); |
{ |
- sk_sp<SkImageFilter> bitmapSource(SkImageSource::Create(fImage.get())); |
+ sk_sp<SkImageFilter> bitmapSource(SkImageSource::Make(fImage)); |
sk_sp<SkColorFilter> cf(SkColorFilter::MakeModeFilter(SK_ColorRED, |
SkXfermode::kSrcIn_Mode)); |
sk_sp<SkImageFilter> blur(SkBlurImageFilter::Create(4.0f, 4.0f, bitmapSource.get())); |