mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert
This commit is contained in:
parent
311a0652e5
commit
4c0232f574
@ -1243,11 +1243,7 @@ ParseMappedAttrAnimValueCallback(void* aObject,
|
||||
static_cast<MappedAttrParser*>(aData);
|
||||
|
||||
nsStringBuffer* valueBuf = static_cast<nsStringBuffer*>(aPropertyValue);
|
||||
nsAutoString value;
|
||||
PRUint32 len = NS_strlen(static_cast<PRUnichar*>(valueBuf->Data()));
|
||||
valueBuf->ToString(len, value);
|
||||
|
||||
mappedAttrParser->ParseMappedAttrValue(aPropertyName, value);
|
||||
mappedAttrParser->ParseMappedAttrValue(aPropertyName, nsCheapString(valueBuf));
|
||||
}
|
||||
|
||||
// Callback for freeing animated content style rule, in property table.
|
||||
|
Loading…
Reference in New Issue
Block a user