aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/xml
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2015-12-10 07:42:47 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-10 07:42:47 -0800
commit067e90e72fdeba83eff7aeb917b2b25f74759282 (patch)
tree5c6469230c50ef69d4045c718ef8508763eccba9 /src/xml
parent53f26aa045d58feb9f2114f53629024bffe52dea (diff)
another null src, memcpy -> sk_careful_memcpy
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/SkDOM.cpp2
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();
}