Document return value of SkPaint::operator==.
BUG=skia:1491
R=reed@google.com, mtklein@google.com
Author: mtklein@chromium.org
Review URL: https://codereview.chromium.org/467063003
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h
index 1814cae..4d5c54e 100644
--- a/include/core/SkPaint.h
+++ b/include/core/SkPaint.h
@@ -56,6 +56,10 @@
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);