Index: src/core/SkColorSpace_ICC.cpp |
diff --git a/src/core/SkColorSpace_ICC.cpp b/src/core/SkColorSpace_ICC.cpp |
index 9ab1da007d16e8dee5aa5dae7b0a358d65effcb9..c00f5d9d6d4465ec410cda5cd49161907f25dc83 100755 |
--- a/src/core/SkColorSpace_ICC.cpp |
+++ b/src/core/SkColorSpace_ICC.cpp |
@@ -138,7 +138,7 @@ struct ICCProfileHeader { |
// Should we treat different rendering intents differently? |
// Valid rendering intents include kPerceptual (0), kRelative (1), |
// kSaturation (2), and kAbsolute (3). |
- if (fRenderingIntent <= 3) { |
+ if (fRenderingIntent > 3) { |
// Warn rather than fail here. Occasionally, we see perfectly |
// normal profiles with wacky rendering intents. |
SkColorSpacePrintf("Warning, bad rendering intent.\n"); |