Index: tests/ReadPixelsTest.cpp |
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp |
index a4dbae9eb75e2a2fe8e0914122349ccebd12d71b..a4c36ffa5d79f263099fb0cdc91e0c04852b6736 100644 |
--- a/tests/ReadPixelsTest.cpp |
+++ b/tests/ReadPixelsTest.cpp |
@@ -424,7 +424,7 @@ |
GrPixelConfig dstConfig = |
SkImageInfo2GrPixelConfig(gReadPixelsConfigs[c].fColorType, |
gReadPixelsConfigs[c].fAlphaType, |
- nullptr, |
+ kLinear_SkColorProfileType, |
*texture->getContext()->caps()); |
uint32_t flags = 0; |
if (gReadPixelsConfigs[c].fAlphaType == kUnpremul_SkAlphaType) { |