diff options
author | mtklein <mtklein@chromium.org> | 2015-12-09 16:20:25 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-09 16:20:25 -0800 |
commit | e0021c0b05e78e12cd58727e770f28a45a848bb4 (patch) | |
tree | 75e82174f758733ae0bf7cef9345865ea910d381 | |
parent | 2028d7ff744c36855ed36d602e3e050e9f18ec9f (diff) |
another memcpy -> sk_careful_memcpy
https://uberchromegw.corp.google.com/i/client.skia/builders/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-ASAN/builds/3791/steps/dm/logs/stdio
This is getting tedious.
TBR=herb@google.com,reed@google.com
No API changes.
BUG=skia:
Review URL: https://codereview.chromium.org/1510223003
-rw-r--r-- | include/core/SkWriter32.h | 2 |
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); } /** |