aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ReadPixelsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp
index 12a567fd8a..7bd1fe5914 100644
--- a/tests/ReadPixelsTest.cpp
+++ b/tests/ReadPixelsTest.cpp
@@ -610,7 +610,7 @@ static const void* five_reference_pixels(SkColorType colorType) {
static void test_conversion(skiatest::Reporter* r, const SkImageInfo& dstInfo,
const SkImageInfo& srcInfo) {
- if (!SkImageInfoIsValidRenderingCS(srcInfo)) {
+ if (!SkImageInfoIsValid(srcInfo)) {
return;
}