aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2018-06-04 09:21:17 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-04 14:07:48 +0000
commite1adc3a9552c21e7b45b7a910f2a0854e00a92b9 (patch)
tree5744750ccf142f18b84a16b9d28f1ba382d76155 /tests
parent7258e97e8e3af173cc5131f309ae487f663bfd39 (diff)
Remove color space restrictions from image infos
What makes an info valid (or invalid)? Nothing to do with color space. Bug: skia: Change-Id: I6795efa9aa74ab0d65935c5ddccc1058f8e0b112 Reviewed-on: https://skia-review.googlesource.com/131780 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
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;
}