зеркало из https://github.com/mozilla/gecko-dev.git
Bug 696188. Fix leak when adding different transform lists for animation. r=dholbert
This commit is contained in:
Родитель
03b0b4eeb8
Коммит
97dfd95cc1
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var e = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
|
||||
document.body.appendChild(e);
|
||||
e.setAttribute("style", "-moz-transform: rotate3d(2, 3, 4, 45deg) scale(10);");
|
||||
e.offsetHeight;
|
||||
e.setAttribute("style", "-moz-transition-duration: 1ms;");
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
|
@ -73,3 +73,4 @@ load 665209-1.html
|
|||
asserts(2) load 671799-1.html
|
||||
asserts(2) load 671799-2.html
|
||||
load 690990-1.html
|
||||
load 696188-1.html
|
||||
|
|
|
@ -1544,7 +1544,8 @@ AddTransformLists(const nsCSSValueList* aList1, double aCoeff1,
|
|||
AddDifferentTransformLists(&tempList1, aCoeff1, &tempList2, aCoeff2);
|
||||
}
|
||||
|
||||
while ((*resultTail)->mNext) {
|
||||
// Now advance resultTail to point to the new tail slot.
|
||||
while (*resultTail) {
|
||||
resultTail = &(*resultTail)->mNext;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче