Index: tests/TestConfigParsing.cpp |
diff --git a/tests/TestConfigParsing.cpp b/tests/TestConfigParsing.cpp |
index 1a7e5b94ab04f01492b8b8d806d32666f6e8c469..a68a52d8ff318f2ef414ba14580fc210a30092f0 100644 |
--- a/tests/TestConfigParsing.cpp |
+++ b/tests/TestConfigParsing.cpp |
@@ -124,8 +124,7 @@ DEF_TEST(ParseConfigs_DefaultConfigs, reporter) { |
REPORTER_ASSERT(reporter, !configs[24]->asConfigGpu()); |
REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorType() == kRGBA_F16_SkColorType); |
REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace()); |
- REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace()->gammaNamed() == |
- SkColorSpace::kLinear_GammaNamed); |
+ REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace()->gammaIsLinear()); |
REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace()->xyz() == |
srgbColorSpace->xyz()); |
REPORTER_ASSERT(reporter, configs[26]->asConfigGpu()->getColorType() == kN32_SkColorType); |