Index: tools/flags/SkCommonFlagsConfig.cpp |
diff --git a/tools/flags/SkCommonFlagsConfig.cpp b/tools/flags/SkCommonFlagsConfig.cpp |
index d5c7a1d5bf2b7af10f02bff596d64e8cef6509b5..4a4684ff5c77cdc629779ec5d535f6bf6475ddd9 100644 |
--- a/tools/flags/SkCommonFlagsConfig.cpp |
+++ b/tools/flags/SkCommonFlagsConfig.cpp |
@@ -284,7 +284,7 @@ static bool parse_option_gpu_color(const SkString& value, |
} |
if (value.equals("f16")) { |
*outColorType = kRGBA_F16_SkColorType; |
- *outColorSpace = nullptr; |
+ *outColorSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named); |
return true; |
} |
if (value.equals("srgb")) { |