Index: include/gpu/GrCoordTransform.h |
diff --git a/include/gpu/GrCoordTransform.h b/include/gpu/GrCoordTransform.h |
index db71ff11584c701ccb6c52f7f8cfd95a8b035c90..42598dd8c54474ad25f52281ef81dc2bdc539e5e 100644 |
--- a/include/gpu/GrCoordTransform.h |
+++ b/include/gpu/GrCoordTransform.h |
@@ -91,12 +91,14 @@ public: |
return &fMatrix; |
} |
- bool operator== (const GrCoordTransform& other) const { |
- return fSourceCoords == other.fSourceCoords && |
- fMatrix.cheapEqualTo(other.fMatrix) && |
- fReverseY == other.fReverseY; |
+ bool operator== (const GrCoordTransform& that) const { |
+ return fSourceCoords == that.fSourceCoords && |
+ fMatrix.cheapEqualTo(that.fMatrix) && |
+ fReverseY == that.fReverseY; |
} |
+ bool operator!= (const GrCoordTransform& that) const { return !(*this == that); } |
+ |
GrCoordSet sourceCoords() const { return fSourceCoords; } |
const SkMatrix& getMatrix() const { return fMatrix; } |
bool reverseY() const { return fReverseY; } |