aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PictureTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PictureTest.cpp')
-rw-r--r--tests/PictureTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PictureTest.cpp b/tests/PictureTest.cpp
index 425d14f193..5076f5d828 100644
--- a/tests/PictureTest.cpp
+++ b/tests/PictureTest.cpp
@@ -82,7 +82,7 @@ static void test_analysis(skiatest::Reporter* reporter) {
*(bitmap.getAddr32(0, 0)) = SK_ColorGREEN;
paint.setShader(SkShader::MakeBitmapShader(bitmap, SkShader::kClamp_TileMode,
SkShader::kClamp_TileMode));
- REPORTER_ASSERT(reporter, paint.getShader()->isABitmap());
+ REPORTER_ASSERT(reporter, paint.getShader()->isAImage());
canvas->drawRect(SkRect::MakeWH(10, 10), paint);
}