| Index: src/core/SkRasterClip.h
|
| diff --git a/src/core/SkRasterClip.h b/src/core/SkRasterClip.h
|
| index 5d99f1dfab6acda452fbba5919f95068ce74ac31..3d838a1d02e013fa292883c2de3f0c20a91da0fc 100644
|
| --- a/src/core/SkRasterClip.h
|
| +++ b/src/core/SkRasterClip.h
|
| @@ -17,9 +17,17 @@ class SkRasterClip {
|
| public:
|
| SkRasterClip(bool forceConservativeRects = false);
|
| SkRasterClip(const SkIRect&, bool forceConservativeRects = false);
|
| + SkRasterClip(const SkRegion&);
|
| SkRasterClip(const SkRasterClip&);
|
| ~SkRasterClip();
|
|
|
| + // Only compares the current state. Does not compare isForceConservativeRects(), so that field
|
| + // could be different but this could still return true.
|
| + bool operator==(const SkRasterClip&) const;
|
| + bool operator!=(const SkRasterClip& other) const {
|
| + return !(*this == other);
|
| + }
|
| +
|
| bool isForceConservativeRects() const { return fForceConservativeRects; }
|
|
|
| bool isBW() const { return fIsBW; }
|
|
|