diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-07 22:36:29 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-08-07 22:36:29 +0000 |
commit | cbf76c75f0990bc8ab0b387671b97c0c48bbae1d (patch) | |
tree | 5618fec7ab4cd69cb943d6278458b49da1c1c78e | |
parent | c91b8979282e59fd5754726efe0464433d69c6b9 (diff) | |
download | include-cbf76c75f0990bc8ab0b387671b97c0c48bbae1d.tar.gz |
Revert r10603 (Remove operator== from SkPaint) due to Chrome failures
git-svn-id: http://skia.googlecode.com/svn/trunk/include@10632 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | core/SkPaint.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/SkPaint.h b/core/SkPaint.h index ac46760..fa0c61e 100644 --- a/core/SkPaint.h +++ b/core/SkPaint.h @@ -67,6 +67,11 @@ public: SkPaint& operator=(const SkPaint&); + SK_API friend bool operator==(const SkPaint& a, const SkPaint& b); + friend bool operator!=(const SkPaint& a, const SkPaint& b) { + return !(a == b); + } + void flatten(SkFlattenableWriteBuffer&) const; void unflatten(SkFlattenableReadBuffer&); |