diff options
-rw-r--r-- | src/xml/SkDOM.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xml/SkDOM.cpp b/src/xml/SkDOM.cpp index 68e2938d9a..0f0b614f11 100644 --- a/src/xml/SkDOM.cpp +++ b/src/xml/SkDOM.cpp @@ -240,7 +240,7 @@ protected: } *fParentStack.push() = node; - memcpy(node->attrs(), fAttrs.begin(), attrCount * sizeof(SkDOM::Attr)); + sk_careful_memcpy(node->attrs(), fAttrs.begin(), attrCount * sizeof(SkDOM::Attr)); fAttrs.reset(); } |