| Index: src/gpu/GrClipMaskManager.h
|
| diff --git a/src/gpu/GrClipMaskManager.h b/src/gpu/GrClipMaskManager.h
|
| index cde718a605ceb760b617a4a2bac922adc6a56e78..e2824cee91b593a2855fe3046f530a0562904763 100644
|
| --- a/src/gpu/GrClipMaskManager.h
|
| +++ b/src/gpu/GrClipMaskManager.h
|
| @@ -50,11 +50,11 @@ public:
|
| struct ScissorState {
|
| ScissorState() : fEnabled(false) {}
|
| void set(const SkIRect& rect) { fRect = rect; fEnabled = true; }
|
| - bool operator==(const ScissorState& other) {
|
| + bool operator==(const ScissorState& other) const {
|
| return fEnabled == other.fEnabled &&
|
| (false == fEnabled || fRect == other.fRect);
|
| }
|
| - bool operator!=(const ScissorState& other) { return !(*this == other); }
|
| + bool operator!=(const ScissorState& other) const { return !(*this == other); }
|
| bool fEnabled;
|
| SkIRect fRect;
|
| };
|
|
|