Index: tests/CachedDecodingPixelRefTest.cpp |
diff --git a/tests/CachedDecodingPixelRefTest.cpp b/tests/CachedDecodingPixelRefTest.cpp |
index 705f0666a46c5efb79a4d158b0a76af67e910bc7..b2ecb0f3ab0d7cf2abd4e5def7e8e4385627c66f 100644 |
--- a/tests/CachedDecodingPixelRefTest.cpp |
+++ b/tests/CachedDecodingPixelRefTest.cpp |
@@ -189,7 +189,7 @@ |
} |
info->fWidth = TestImageGenerator::Width(); |
info->fHeight = TestImageGenerator::Height(); |
- info->fColorType = kN32_SkColorType; |
+ info->fColorType = kPMColor_SkColorType; |
info->fAlphaType = kOpaque_SkAlphaType; |
return true; |
} |
@@ -202,7 +202,7 @@ |
REPORTER_ASSERT(fReporter, rowBytes >= minRowBytes); |
if ((NULL == pixels) |
|| (fType != kSucceedGetPixels_TestType) |
- || (info.fColorType != kN32_SkColorType)) { |
+ || (info.fColorType != kPMColor_SkColorType)) { |
return false; |
} |
char* bytePtr = static_cast<char*>(pixels); |