Index: src/xml/SkDOM.cpp |
diff --git a/src/xml/SkDOM.cpp b/src/xml/SkDOM.cpp |
index 68e2938d9a347b115ead05640cb2a076c50922c0..0f0b614f1116bed80ccf7cf5f4a1e6f9d9d43d34 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(); |
} |