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