mtklein 2015-12-10 07:42:47 -08:00 committed by Commit bot
parent 53f26aa045
commit 067e90e72f

View File

@ -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();
}