diff options
Diffstat (limited to 'tools/colorspaceinfo.cpp')
-rw-r--r-- | tools/colorspaceinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/colorspaceinfo.cpp b/tools/colorspaceinfo.cpp index 390f7cc4cb..2873e46508 100644 --- a/tools/colorspaceinfo.cpp +++ b/tools/colorspaceinfo.cpp @@ -518,7 +518,7 @@ int main(int argc, char** argv) { return ss.str(); }; - if (SkColorSpace_Base::Type::kXYZ == as_CSB(colorSpace)->type()) { + if (colorSpace->toXYZD50()) { SkDebugf("XYZ/TRC color space\n"); // Load a graph of the CIE XYZ color gamut. |