Index: include/core/SkWriter32.h |
diff --git a/include/core/SkWriter32.h b/include/core/SkWriter32.h |
index 59c499e631240a751e93a4b468b2b6053f1f5775..1e7ec6d3483e12cf4f49db56734ea8f453fcb4e1 100644 |
--- a/include/core/SkWriter32.h |
+++ b/include/core/SkWriter32.h |
@@ -186,7 +186,7 @@ public: |
* Write size bytes from src, and pad to 4 byte alignment with zeroes. |
*/ |
void writePad(const void* src, size_t size) { |
- memcpy(this->reservePad(size), src, size); |
+ sk_careful_memcpy(this->reservePad(size), src, size); |
} |
/** |