Index: src/utils/SkPictureUtils.cpp |
diff --git a/src/utils/SkPictureUtils.cpp b/src/utils/SkPictureUtils.cpp |
index 4dcb855a686f8e44a44c81e3c85005fa4ceeff0d..a2d6da131e2b75f3ae1b8b2c95bbb1d8156615ac 100644 |
--- a/src/utils/SkPictureUtils.cpp |
+++ b/src/utils/SkPictureUtils.cpp |
@@ -114,7 +114,7 @@ public: |
virtual void drawBitmap(const SkDraw&, const SkBitmap& bitmap, |
const SkMatrix&, const SkPaint& paint) SK_OVERRIDE { |
this->addBitmap(bitmap); |
- if (SkBitmap::kA8_Config == bitmap.config()) { |
+ if (kAlpha_8_SkColorType == bitmap.colorType()) { |
this->addBitmapFromPaint(paint); |
} |
} |
@@ -123,7 +123,7 @@ public: |
const SkPaint& paint, |
SkCanvas::DrawBitmapRectFlags flags) SK_OVERRIDE { |
this->addBitmap(bitmap); |
- if (SkBitmap::kA8_Config == bitmap.config()) { |
+ if (kAlpha_8_SkColorType == bitmap.colorType()) { |
this->addBitmapFromPaint(paint); |
} |
} |