Index: tests/TestConfigParsing.cpp |
diff --git a/tests/TestConfigParsing.cpp b/tests/TestConfigParsing.cpp |
index 620a7c42eaf5a213b381f99d4e56d0b49d4e8df8..6760724e5a3342cebbe8eb4e8f043a5c20d0a3ee 100644 |
--- a/tests/TestConfigParsing.cpp |
+++ b/tests/TestConfigParsing.cpp |
@@ -6,7 +6,7 @@ |
*/ |
#include "SkCommonFlagsConfig.h" |
-#include "SkColorSpace.h" |
+#include "SkColorSpace_Base.h" |
#include "Test.h" |
#include <initializer_list> |
@@ -125,15 +125,15 @@ DEF_TEST(ParseConfigs_DefaultConfigs, reporter) { |
REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorType() == kRGBA_F16_SkColorType); |
REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace()); |
REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace()->gammaIsLinear()); |
- REPORTER_ASSERT(reporter, configs[25]->asConfigGpu()->getColorSpace()->toXYZD50() == |
- srgbColorSpace->toXYZD50()); |
+ REPORTER_ASSERT(reporter, as_CSB(configs[25]->asConfigGpu()->getColorSpace())->toXYZD50() == |
+ as_CSB(srgbColorSpace)->toXYZD50()); |
REPORTER_ASSERT(reporter, configs[26]->asConfigGpu()->getColorType() == kRGBA_8888_SkColorType); |
REPORTER_ASSERT(reporter, configs[26]->asConfigGpu()->getColorSpace() == srgbColorSpace.get()); |
REPORTER_ASSERT(reporter, configs[41]->asConfigGpu()->getColorType() == kRGBA_F16_SkColorType); |
REPORTER_ASSERT(reporter, configs[41]->asConfigGpu()->getColorSpace()); |
REPORTER_ASSERT(reporter, configs[41]->asConfigGpu()->getColorSpace()->gammaIsLinear()); |
- REPORTER_ASSERT(reporter, configs[41]->asConfigGpu()->getColorSpace()->toXYZD50() != |
- srgbColorSpace->toXYZD50()); |
+ REPORTER_ASSERT(reporter, as_CSB(configs[41]->asConfigGpu()->getColorSpace())->toXYZD50() != |
+ as_CSB(srgbColorSpace)->toXYZD50()); |
REPORTER_ASSERT(reporter, configs[33]->asConfigGpu()->getContextType() == |
GrContextFactory::kGL_ContextType); |
REPORTER_ASSERT(reporter, configs[33]->asConfigGpu()->getUseInstanced()); |