Index: tools/visualize_color_gamut.cpp |
diff --git a/tools/visualize_color_gamut.cpp b/tools/visualize_color_gamut.cpp |
index bc40152a44b3786061d169afaeb131ada32c4eef..4d340f8d98908d380fe79e178ae2e4c860a62e1e 100644 |
--- a/tools/visualize_color_gamut.cpp |
+++ b/tools/visualize_color_gamut.cpp |
@@ -151,7 +151,7 @@ int main(int argc, char** argv) { |
} |
// Draw gamut for the input image. |
- sk_sp<SkColorSpace> colorSpace = sk_ref_sp(codec->getColorSpace()); |
+ sk_sp<SkColorSpace> colorSpace = sk_ref_sp(codec->getInfo().colorSpace()); |
if (!colorSpace) { |
SkDebugf("Image had no embedded color space information. Defaulting to sRGB.\n"); |
colorSpace = SkColorSpace::NewNamed(SkColorSpace::kSRGB_Named); |