зеркало из https://github.com/mozilla/gecko-dev.git
Introduced an infinite loop (sigh). Fixing the problem.
This commit is contained in:
Родитель
27f2d89ea5
Коммит
b817087e8e
|
@ -4131,7 +4131,7 @@ nsCSSFrameConstructor::ContentAppended(nsIPresContext* aPresContext,
|
||||||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||||
while (parent) {
|
while (parent) {
|
||||||
aContainer->GetParent(*getter_AddRefs(parent));
|
child->GetParent(*getter_AddRefs(parent));
|
||||||
parent->GetTag(*getter_AddRefs(tag));
|
parent->GetTag(*getter_AddRefs(tag));
|
||||||
if (tag.get() == nsXULAtoms::tree)
|
if (tag.get() == nsXULAtoms::tree)
|
||||||
break;
|
break;
|
||||||
|
@ -4348,7 +4348,7 @@ nsCSSFrameConstructor::ContentInserted(nsIPresContext* aPresContext,
|
||||||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||||
while (parent) {
|
while (parent) {
|
||||||
aContainer->GetParent(*getter_AddRefs(parent));
|
child->GetParent(*getter_AddRefs(parent));
|
||||||
parent->GetTag(*getter_AddRefs(tag));
|
parent->GetTag(*getter_AddRefs(tag));
|
||||||
if (tag.get() == nsXULAtoms::tree)
|
if (tag.get() == nsXULAtoms::tree)
|
||||||
break;
|
break;
|
||||||
|
@ -4668,7 +4668,7 @@ nsCSSFrameConstructor::ContentRemoved(nsIPresContext* aPresContext,
|
||||||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||||
while (parent) {
|
while (parent) {
|
||||||
aContainer->GetParent(*getter_AddRefs(parent));
|
child->GetParent(*getter_AddRefs(parent));
|
||||||
parent->GetTag(*getter_AddRefs(tag));
|
parent->GetTag(*getter_AddRefs(tag));
|
||||||
if (tag.get() == nsXULAtoms::tree)
|
if (tag.get() == nsXULAtoms::tree)
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -4131,7 +4131,7 @@ nsCSSFrameConstructor::ContentAppended(nsIPresContext* aPresContext,
|
||||||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||||
while (parent) {
|
while (parent) {
|
||||||
aContainer->GetParent(*getter_AddRefs(parent));
|
child->GetParent(*getter_AddRefs(parent));
|
||||||
parent->GetTag(*getter_AddRefs(tag));
|
parent->GetTag(*getter_AddRefs(tag));
|
||||||
if (tag.get() == nsXULAtoms::tree)
|
if (tag.get() == nsXULAtoms::tree)
|
||||||
break;
|
break;
|
||||||
|
@ -4348,7 +4348,7 @@ nsCSSFrameConstructor::ContentInserted(nsIPresContext* aPresContext,
|
||||||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||||
while (parent) {
|
while (parent) {
|
||||||
aContainer->GetParent(*getter_AddRefs(parent));
|
child->GetParent(*getter_AddRefs(parent));
|
||||||
parent->GetTag(*getter_AddRefs(tag));
|
parent->GetTag(*getter_AddRefs(tag));
|
||||||
if (tag.get() == nsXULAtoms::tree)
|
if (tag.get() == nsXULAtoms::tree)
|
||||||
break;
|
break;
|
||||||
|
@ -4668,7 +4668,7 @@ nsCSSFrameConstructor::ContentRemoved(nsIPresContext* aPresContext,
|
||||||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||||
while (parent) {
|
while (parent) {
|
||||||
aContainer->GetParent(*getter_AddRefs(parent));
|
child->GetParent(*getter_AddRefs(parent));
|
||||||
parent->GetTag(*getter_AddRefs(tag));
|
parent->GetTag(*getter_AddRefs(tag));
|
||||||
if (tag.get() == nsXULAtoms::tree)
|
if (tag.get() == nsXULAtoms::tree)
|
||||||
break;
|
break;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче