| Index: include/core/SkImageInfo.h
|
| diff --git a/include/core/SkImageInfo.h b/include/core/SkImageInfo.h
|
| index f143503c6611a4650b0eb565e2d78dd9dcf4d733..cf50acacae4396332325dd759c2804509bf3eacf 100644
|
| --- a/include/core/SkImageInfo.h
|
| +++ b/include/core/SkImageInfo.h
|
| @@ -289,12 +289,10 @@ public:
|
| bool operator==(const SkImageInfo& other) const {
|
| return fWidth == other.fWidth && fHeight == other.fHeight &&
|
| fColorType == other.fColorType && fAlphaType == other.fAlphaType &&
|
| - fColorSpace == other.fColorSpace;
|
| + SkColorSpace::Equals(fColorSpace.get(), other.fColorSpace.get());
|
| }
|
| bool operator!=(const SkImageInfo& other) const {
|
| - return fWidth != other.fWidth || fHeight != other.fHeight ||
|
| - fColorType != other.fColorType || fAlphaType != other.fAlphaType ||
|
| - fColorSpace != other.fColorSpace;
|
| + return !(*this == other);
|
| }
|
|
|
| void unflatten(SkReadBuffer&);
|
|
|