Index: src/image/SkImage.cpp |
diff --git a/src/image/SkImage.cpp b/src/image/SkImage.cpp |
index a6063846c7851711503d7c6a1d262c2ec62efbfb..13b6fcd463a8db574b53ffb24af8ef3183fab77e 100644 |
--- a/src/image/SkImage.cpp |
+++ b/src/image/SkImage.cpp |
@@ -94,9 +94,9 @@ SkData* SkImage::encode(SkImageEncoder::Type type, int quality) const { |
/////////////////////////////////////////////////////////////////////////////// |
static bool raster_canvas_supports(const SkImageInfo& info) { |
- switch (info.fColorType) { |
+ switch (info.colorType()) { |
case kN32_SkColorType: |
- return kUnpremul_SkAlphaType != info.fAlphaType; |
+ return kUnpremul_SkAlphaType != info.alphaType(); |
case kRGB_565_SkColorType: |
return true; |
case kAlpha_8_SkColorType: |