mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 21:05:36 +00:00
Bug 762119 - Simplify ParseMappedAttrAnimValueCallback. r=dholbert
This commit is contained in:
parent
3479e2b4fd
commit
9b3aba30d7
@ -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