Index: src/core/SkDraw.cpp |
diff --git a/src/core/SkDraw.cpp b/src/core/SkDraw.cpp |
index 946bf753101627bb77a3f9f46eb6793222eb2b9c..7eb0be6b6b229a04ece584a747e5bdfaeecebd79 100644 |
--- a/src/core/SkDraw.cpp |
+++ b/src/core/SkDraw.cpp |
@@ -188,7 +188,7 @@ |
*/ |
SkPMColor pmc = SkPreMultiplyColor(color); |
switch (bitmap.colorType()) { |
- case kPMColor_SkColorType: |
+ case kN32_SkColorType: |
if (data) { |
*data = pmc; |
} |
@@ -221,7 +221,7 @@ |
BitmapXferProc proc, uint32_t procData) { |
int shiftPerPixel; |
switch (bitmap.colorType()) { |
- case kPMColor_SkColorType: |
+ case kN32_SkColorType: |
shiftPerPixel = 2; |
break; |
case kRGB_565_SkColorType: |
@@ -515,7 +515,7 @@ |
const SkBitmap* bm = blitter->justAnOpaqueColor(&value); |
if (bm && kRGB_565_SkColorType == bm->colorType()) { |
proc = bw_pt_rect_16_hair_proc; |
- } else if (bm && kPMColor_SkColorType == bm->colorType()) { |
+ } else if (bm && kN32_SkColorType == bm->colorType()) { |
proc = bw_pt_rect_32_hair_proc; |
} else { |
proc = bw_pt_rect_hair_proc; |