mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 752902 - Call Unlink before clearing time value specs; r=dholbert
This commit is contained in:
parent
a75759c60f
commit
917037a94e
@ -1312,7 +1312,13 @@ nsSMILTimedElement::ClearSpecs(TimeValueSpecList& aSpecs,
|
||||
InstanceTimeList& aInstances,
|
||||
RemovalTestFunction aRemove)
|
||||
{
|
||||
AutoIntervalUpdateBatcher(*this);
|
||||
|
||||
for (PRUint32 i = 0; i < aSpecs.Length(); ++i) {
|
||||
aSpecs[i]->Unlink();
|
||||
}
|
||||
aSpecs.Clear();
|
||||
|
||||
RemoveByFunction removeByFunction(aRemove);
|
||||
RemoveInstanceTimes(aInstances, removeByFunction);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user