Index: include/core/SkPaint.h |
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h |
index 66e217a57053e79932c5270b375c9f36bcf457a9..9f477d867b152f495dd98bad2438ac01abaf348f 100644 |
--- a/include/core/SkPaint.h |
+++ b/include/core/SkPaint.h |
@@ -62,6 +62,11 @@ public: |
return !(a == b); |
} |
+ /** getHash() is a shallow hash, with the same limitations as operator==. |
+ * If operator== returns true for two paints, getHash() returns the same value for each. |
+ */ |
+ uint32_t getHash() const; |
+ |
void flatten(SkWriteBuffer&) const; |
void unflatten(SkReadBuffer&); |