Index: gm/colorfilterimagefilter.cpp |
diff --git a/gm/colorfilterimagefilter.cpp b/gm/colorfilterimagefilter.cpp |
index 4ab91f1afbe4e539b79075ee11b9d0ecefc3eb83..b0f67bff300e8beb8bea7099a262573efc56a722 100644 |
--- a/gm/colorfilterimagefilter.cpp |
+++ b/gm/colorfilterimagefilter.cpp |
@@ -70,8 +70,7 @@ static sk_sp<SkShader> sh_make_image() { |
if (!image) { |
return nullptr; |
} |
- return sk_sp<SkShader>(image->newShader(SkShader::kRepeat_TileMode, |
- SkShader::kRepeat_TileMode)); |
+ return image->makeShader(SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode); |
} |
static void sk_gm_get_shaders(SkTDArray<SkShader*>* array) { |