simple patch to always init SkTextBlob uniqueID
BUG=skia:
Review URL: https://codereview.chromium.org/1036613002
diff --git a/include/core/SkTextBlob.h b/include/core/SkTextBlob.h
index 6970e6d..d31ec5c 100644
--- a/include/core/SkTextBlob.h
+++ b/include/core/SkTextBlob.h
@@ -30,7 +30,7 @@
/**
* Return a non-zero, unique value representing the text blob.
*/
- uint32_t uniqueID() const;
+ uint32_t uniqueID() const { return fUniqueID; }
/**
* Serialize to a buffer.
@@ -98,7 +98,7 @@
const int fRunCount;
const SkRect fBounds;
- mutable uint32_t fUniqueID;
+ const uint32_t fUniqueID;
SkDEBUGCODE(size_t fStorageSize;)