Index: src/core/SkBitmapProcShader.h |
diff --git a/src/core/SkBitmapProcShader.h b/src/core/SkBitmapProcShader.h |
index dc4d832ca3dad0be49f9a7d84ed279010f7b5a64..185a95de66831f3dae430c361232f887e37a8cb2 100644 |
--- a/src/core/SkBitmapProcShader.h |
+++ b/src/core/SkBitmapProcShader.h |
@@ -59,7 +59,7 @@ typedef SkSmallAllocator<3, 2100> SkTBlitterAllocator; |
// If alloc is non-nullptr, it will be used to allocate the returned SkShader, and MUST outlive |
// the SkShader. |
-SkShader* SkCreateBitmapShader(const SkBitmap& src, SkShader::TileMode, SkShader::TileMode, |
- const SkMatrix* localMatrix, SkTBlitterAllocator* alloc); |
+sk_sp<SkShader> SkMakeBitmapShader(const SkBitmap& src, SkShader::TileMode, SkShader::TileMode, |
+ const SkMatrix* localMatrix, SkTBlitterAllocator* alloc); |
#endif |