Index: gm/skbug_257.cpp |
diff --git a/gm/skbug_257.cpp b/gm/skbug_257.cpp |
index 052884236a8c22a3fb2130f6c9fa8ad560c07e19..b11487d6c561d05614e7a4e7aa9e7f9027135996 100644 |
--- a/gm/skbug_257.cpp |
+++ b/gm/skbug_257.cpp |
@@ -21,10 +21,9 @@ static void rotated_checkerboard_shader(SkPaint* paint, |
SkMatrix matrix; |
matrix.setScale(0.75f, 0.75f); |
matrix.preRotate(30.0f); |
- SkAutoTUnref<SkShader> shader( |
- SkShader::CreateBitmapShader(bm, SkShader::kRepeat_TileMode, |
- SkShader::kRepeat_TileMode, &matrix)); |
- paint->setShader(shader); |
+ paint->setShader( |
+ SkShader::MakeBitmapShader(bm, SkShader::kRepeat_TileMode, SkShader::kRepeat_TileMode, |
+ &matrix)); |
} |
static void exercise_draw_pos_text(SkCanvas* canvas, |