| Index: include/core/SkPaint.h
|
| diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
|
| index 1814cae29dba5b646b9d0a80364e64b3499ce033..4d5c54ef589260bf1cdaa7a49065bca7529273d4 100644
|
| --- a/include/core/SkPaint.h
|
| +++ b/include/core/SkPaint.h
|
| @@ -56,6 +56,10 @@ public:
|
|
|
| SkPaint& operator=(const SkPaint&);
|
|
|
| + /** operator== may give false negatives: two paints that draw equivalently
|
| + may return false. It will never give false positives: two paints that
|
| + are not equivalent always return false.
|
| + */
|
| SK_API friend bool operator==(const SkPaint& a, const SkPaint& b);
|
| friend bool operator!=(const SkPaint& a, const SkPaint& b) {
|
| return !(a == b);
|
|
|