Index: gm/dropshadowimagefilter.cpp |
diff --git a/gm/dropshadowimagefilter.cpp b/gm/dropshadowimagefilter.cpp |
index 567ef803b59387b7dcd4547d9a6e9f1c384ce68b..512c82de01da27f08ca436a99934927148c5dfcf 100644 |
--- a/gm/dropshadowimagefilter.cpp |
+++ b/gm/dropshadowimagefilter.cpp |
@@ -93,7 +93,8 @@ |
draw_bitmap, draw_path, draw_paint, draw_text |
}; |
- auto cf(SkColorFilter::MakeModeFilter(SK_ColorMAGENTA, SkXfermode::kSrcIn_Mode)); |
+ SkAutoTUnref<SkColorFilter> cf( |
+ SkColorFilter::CreateModeFilter(SK_ColorMAGENTA, SkXfermode::kSrcIn_Mode)); |
SkAutoTUnref<SkImageFilter> cfif(SkColorFilterImageFilter::Create(cf.get())); |
SkImageFilter::CropRect cropRect(SkRect::Make(SkIRect::MakeXYWH(10, 10, 44, 44)), |
SkImageFilter::CropRect::kHasAll_CropEdge); |