aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-12-09 16:20:25 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-09 16:20:25 -0800
commite0021c0b05e78e12cd58727e770f28a45a848bb4 (patch)
tree75e82174f758733ae0bf7cef9345865ea910d381
parent2028d7ff744c36855ed36d602e3e050e9f18ec9f (diff)
another memcpy -> sk_careful_memcpy
-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);
}
/**