aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/PictureTest.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2016-09-28 17:13:38 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-09-28 21:42:04 +0000
commit627778d5ba4fd6f4a4a1238bbf7a1b561469fe21 (patch)
tree25438c2d6f388c4b93c03100c44b20e8fa22f36e /tests/PictureTest.cpp
parente95ea08cf4134eff0fa1f7afe624b4a49e3c5ba4 (diff)
isABitmap is deprecated, use isAImage
BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2748 Change-Id: I7006a3231ff0e9e39b187deae550364bc97f49d6 Reviewed-on: https://skia-review.googlesource.com/2748 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
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);
}