зеркало из 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> child = dont_QueryInterface(aContainer);
|
||||
while (parent) {
|
||||
aContainer->GetParent(*getter_AddRefs(parent));
|
||||
child->GetParent(*getter_AddRefs(parent));
|
||||
parent->GetTag(*getter_AddRefs(tag));
|
||||
if (tag.get() == nsXULAtoms::tree)
|
||||
break;
|
||||
|
@ -4348,7 +4348,7 @@ nsCSSFrameConstructor::ContentInserted(nsIPresContext* aPresContext,
|
|||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||
while (parent) {
|
||||
aContainer->GetParent(*getter_AddRefs(parent));
|
||||
child->GetParent(*getter_AddRefs(parent));
|
||||
parent->GetTag(*getter_AddRefs(tag));
|
||||
if (tag.get() == nsXULAtoms::tree)
|
||||
break;
|
||||
|
@ -4668,7 +4668,7 @@ nsCSSFrameConstructor::ContentRemoved(nsIPresContext* aPresContext,
|
|||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||
while (parent) {
|
||||
aContainer->GetParent(*getter_AddRefs(parent));
|
||||
child->GetParent(*getter_AddRefs(parent));
|
||||
parent->GetTag(*getter_AddRefs(tag));
|
||||
if (tag.get() == nsXULAtoms::tree)
|
||||
break;
|
||||
|
|
|
@ -4131,7 +4131,7 @@ nsCSSFrameConstructor::ContentAppended(nsIPresContext* aPresContext,
|
|||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||
while (parent) {
|
||||
aContainer->GetParent(*getter_AddRefs(parent));
|
||||
child->GetParent(*getter_AddRefs(parent));
|
||||
parent->GetTag(*getter_AddRefs(tag));
|
||||
if (tag.get() == nsXULAtoms::tree)
|
||||
break;
|
||||
|
@ -4348,7 +4348,7 @@ nsCSSFrameConstructor::ContentInserted(nsIPresContext* aPresContext,
|
|||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||
while (parent) {
|
||||
aContainer->GetParent(*getter_AddRefs(parent));
|
||||
child->GetParent(*getter_AddRefs(parent));
|
||||
parent->GetTag(*getter_AddRefs(tag));
|
||||
if (tag.get() == nsXULAtoms::tree)
|
||||
break;
|
||||
|
@ -4668,7 +4668,7 @@ nsCSSFrameConstructor::ContentRemoved(nsIPresContext* aPresContext,
|
|||
nsCOMPtr<nsIContent> parent = dont_QueryInterface(aContainer);
|
||||
nsCOMPtr<nsIContent> child = dont_QueryInterface(aContainer);
|
||||
while (parent) {
|
||||
aContainer->GetParent(*getter_AddRefs(parent));
|
||||
child->GetParent(*getter_AddRefs(parent));
|
||||
parent->GetTag(*getter_AddRefs(tag));
|
||||
if (tag.get() == nsXULAtoms::tree)
|
||||
break;
|
||||
|
|
Загрузка…
Ссылка в новой задаче