Index: src/core/SkColorSpace.cpp |
diff --git a/src/core/SkColorSpace.cpp b/src/core/SkColorSpace.cpp |
index e7bd4e8111e9f1c727dc2964354349003beb3d72..cb5c8695ee0c02a5c1c3df77ec6dd522b08bbaf2 100644 |
--- a/src/core/SkColorSpace.cpp |
+++ b/src/core/SkColorSpace.cpp |
@@ -356,7 +356,9 @@ bool SkColorSpace::Equals(const SkColorSpace* src, const SkColorSpace* dst) { |
return (src->fGammaNamed == dst->fGammaNamed) && (src->fToXYZD50 == dst->fToXYZD50); |
default: |
// If |src| does not have a named gamma, fProfileData should be non-null. |
- SkASSERT(false); |
+ // FIXME (msarett): We may hit this case on pngs that specify float gammas. |
+ // Gamma can be non-standard, but we don't have a profile |
+ // to fall back on. What do we do? |
return false; |
} |
} |