aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/colorspaceinfo.cpp2
-rw-r--r--tools/flags/SkCommonFlagsConfig.cpp1
2 files changed, 1 insertions, 2 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.
diff --git a/tools/flags/SkCommonFlagsConfig.cpp b/tools/flags/SkCommonFlagsConfig.cpp
index 91805a90f3..d38d70a1dc 100644
--- a/tools/flags/SkCommonFlagsConfig.cpp
+++ b/tools/flags/SkCommonFlagsConfig.cpp
@@ -5,7 +5,6 @@
* found in the LICENSE file.
*/
-#include "SkColorSpace_Base.h"
#include "SkCommonFlagsConfig.h"
#include "SkImageInfo.h"