Index: src/gpu/GrLayerHoister.cpp |
diff --git a/src/gpu/GrLayerHoister.cpp b/src/gpu/GrLayerHoister.cpp |
index f1a51a8feef3d5707b4cc05e38dd368636e978b6..80ea3cdc50270ad4682cc34895a4bb36b499a8c2 100644 |
--- a/src/gpu/GrLayerHoister.cpp |
+++ b/src/gpu/GrLayerHoister.cpp |
@@ -309,9 +309,9 @@ void GrLayerHoister::FilterLayer(GrContext* context, |
layer->texture())); |
SkIPoint offset = SkIPoint::Make(0, 0); |
- SkAutoTUnref<SkSpecialImage> result(layer->filter()->filterImage(img.get(), |
- filterContext, |
- &offset)); |
+ sk_sp<SkSpecialImage> result(layer->filter()->filterImage(img.get(), |
+ filterContext, |
+ &offset)); |
if (!result) { |
// Filtering failed. Press on with the unfiltered version. |
return; |