Index: tools/flags/SkCommonFlagsConfig.cpp |
diff --git a/tools/flags/SkCommonFlagsConfig.cpp b/tools/flags/SkCommonFlagsConfig.cpp |
index 14084ce0e0f7d07eab46c0396c751dad4279d25d..3fd8a97b4bab95560de083255007389bd5109c57 100644 |
--- a/tools/flags/SkCommonFlagsConfig.cpp |
+++ b/tools/flags/SkCommonFlagsConfig.cpp |
@@ -5,6 +5,7 @@ |
* found in the LICENSE file. |
*/ |
+#include "SkColorSpace_Base.h" |
#include "SkCommonFlagsConfig.h" |
#include "SkImageInfo.h" |
@@ -303,7 +304,7 @@ static bool parse_option_gpu_color(const SkString& value, |
// Now pick a color type |
if (commands[0].equals("f16")) { |
*outColorType = kRGBA_F16_SkColorType; |
- *outColorSpace = colorSpace->makeLinearGamma(); |
+ *outColorSpace = as_CSB(colorSpace)->makeLinearGamma(); |
return true; |
} |
if (commands[0].equals("srgb")) { |