eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113965 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1094,8 +1094,8 @@ HTMLAttributesImpl::UnsetAttributeName(nsIAtom* aAttrName, PRBool& aFound)
|
||||
}
|
||||
else {
|
||||
if (index < mAttrCount) {
|
||||
nsCRT::memmove(&(mAttrNames[index]), &(mAttrNames[index + 1]),
|
||||
(mAttrCount - index) * sizeof(nsIAtom*));
|
||||
memmove(&(mAttrNames[index]), &(mAttrNames[index + 1]),
|
||||
(mAttrCount - index) * sizeof(nsIAtom*));
|
||||
}
|
||||
}
|
||||
NS_RELEASE(aAttrName);
|
||||
|
||||
Reference in New Issue
Block a user