aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPictureCommon.h
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 /src/core/SkPictureCommon.h
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 'src/core/SkPictureCommon.h')
-rw-r--r--src/core/SkPictureCommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPictureCommon.h b/src/core/SkPictureCommon.h
index 0a0c6b5ca9..9b0a2f7c04 100644
--- a/src/core/SkPictureCommon.h
+++ b/src/core/SkPictureCommon.h
@@ -58,7 +58,7 @@ private:
static bool PaintHasBitmap(const SkPaint* paint) {
if (paint) {
const SkShader* shader = paint->getShader();
- if (shader && shader->isABitmap()) {
+ if (shader && shader->isAImage()) {
return true;
}
}