Chromium Code Reviews| Index: include/core/SkPathRef.h |
| diff --git a/include/core/SkPathRef.h b/include/core/SkPathRef.h |
| index 22287894d98cf698d617f90aac6b43bfe3c9e6be..a68dcdfabc810ae799fa0142311611fd375da717 100644 |
| --- a/include/core/SkPathRef.h |
| +++ b/include/core/SkPathRef.h |
| @@ -234,6 +234,8 @@ public: |
| */ |
| uint32_t writeSize(); |
| + uint32_t getHash() const { return static_cast<uint32_t>(this->genID()); } |
| + |
| private: |
| enum SerializationOffsets { |
| kIsFinite_SerializationShift = 25, // requires 1 bit |