Backout 14bea2e7f431 (bug 762119) for compilation failures

This commit is contained in:
Ed Morley 2012-06-07 09:40:02 +01:00
parent 9b3aba30d7
commit 3bd32a640c

View File

@ -1243,7 +1243,11 @@ ParseMappedAttrAnimValueCallback(void* aObject,
static_cast<MappedAttrParser*>(aData);
nsStringBuffer* valueBuf = static_cast<nsStringBuffer*>(aPropertyValue);
mappedAttrParser->ParseMappedAttrValue(aPropertyName, nsCheapString(valueBuf));
nsAutoString value;
PRUint32 len = NS_strlen(static_cast<PRUnichar*>(valueBuf->Data()));
valueBuf->ToString(len, value);
mappedAttrParser->ParseMappedAttrValue(aPropertyName, value);
}
// Callback for freeing animated content style rule, in property table.