diff --git a/src/core/SkImageInfoPriv.h b/src/core/SkImageInfoPriv.h index 029aa93e1d..72138aebe4 100644 --- a/src/core/SkImageInfoPriv.h +++ b/src/core/SkImageInfoPriv.h @@ -69,11 +69,9 @@ static inline bool SkImageInfoValidConversion(const SkImageInfo& dst, const SkIm return false; } - // FIXME (msarett): This is commented out until a fix to Chrome's gfx_unittest lands. - // In those tests, they write kPremul pixels to a kOpaque canvas. - //if (kOpaque_SkAlphaType == dst.alphaType() && kOpaque_SkAlphaType != src.alphaType()) { - // return false; - //} + if (kOpaque_SkAlphaType == dst.alphaType() && kOpaque_SkAlphaType != src.alphaType()) { + return false; + } return true; }