aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--include/core/SkWriter32.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/core/SkWriter32.h b/include/core/SkWriter32.h
index 86c27a58dc..59c499e631 100644
--- a/include/core/SkWriter32.h
+++ b/include/core/SkWriter32.h
@@ -165,7 +165,7 @@ public:
*/
void write(const void* values, size_t size) {
SkASSERT(SkAlign4(size) == size);
- memcpy(this->reserve(size), values, size);
+ sk_careful_memcpy(this->reserve(size), values, size);
}
/**