Index: samplecode/SampleEncode.cpp |
diff --git a/samplecode/SampleEncode.cpp b/samplecode/SampleEncode.cpp |
index 4769fbb0a87f0e2d97eb8be1f0db2c87e57ca0a9..080c05f5d77e8a2f535109dfceb6585de0ee6c57 100644 |
--- a/samplecode/SampleEncode.cpp |
+++ b/samplecode/SampleEncode.cpp |
@@ -43,7 +43,7 @@ static void make_image(SkBitmap* bm, SkColorType ct, int configIndex) { |
SkIntToScalar(width)/2, paint); |
switch (ct) { |
- case kPMColor_SkColorType: |
+ case kN32_SkColorType: |
bm->swap(device); |
break; |
case kRGB_565_SkColorType: { |
@@ -81,7 +81,7 @@ static void make_image(SkBitmap* bm, SkColorType ct, int configIndex) { |
// configs to build the original bitmap in. Can be at most these 3 |
static const SkColorType gColorTypes[] = { |
- kPMColor_SkColorType, |
+ kN32_SkColorType, |
kRGB_565_SkColorType, |
kIndex_8_SkColorType, // opaque |
kIndex_8_SkColorType // alpha |