Index: src/effects/SkTransparentShader.cpp |
diff --git a/src/effects/SkTransparentShader.cpp b/src/effects/SkTransparentShader.cpp |
index b6a5e1edea98fc5de2ff674b3a66bf821a354671..bd8b99a3c06e1aa1d3fb632d286619e750c33d69 100644 |
--- a/src/effects/SkTransparentShader.cpp |
+++ b/src/effects/SkTransparentShader.cpp |
@@ -29,7 +29,7 @@ |
if (fAlpha == 255) |
flags |= kOpaqueAlpha_Flag; |
break; |
- case kPMColor_SkColorType: |
+ case kN32_SkColorType: |
if (fAlpha == 255 && fDevice->isOpaque()) |
flags |= kOpaqueAlpha_Flag; |
break; |
@@ -43,7 +43,7 @@ |
unsigned scale = SkAlpha255To256(fAlpha); |
switch (fDevice->colorType()) { |
- case kPMColor_SkColorType: |
+ case kN32_SkColorType: |
if (scale == 256) { |
SkPMColor* src = fDevice->getAddr32(x, y); |
if (src != span) { |