зеркало из https://github.com/mozilla/pjs.git
Fix for 68478. r=blake, sr=alecf
This commit is contained in:
Родитель
33006f5de3
Коммит
4a16cd01f6
|
@ -2116,7 +2116,7 @@ GetElementByAttribute(nsIContent* aContent,
|
|||
|
||||
for (PRInt32 i = 0; i < childCount; ++i) {
|
||||
nsCOMPtr<nsIContent> current;
|
||||
current->ChildAt(i, *getter_AddRefs(current));
|
||||
aContent->ChildAt(i, *getter_AddRefs(current));
|
||||
|
||||
GetElementByAttribute(current, aAttrName, aAttrValue, aUniversalMatch, aResult);
|
||||
|
||||
|
|
|
@ -2835,7 +2835,7 @@ GetElementByAttribute(nsIContent* aContent,
|
|||
|
||||
for (PRInt32 i = 0; i < childCount; ++i) {
|
||||
nsCOMPtr<nsIContent> current;
|
||||
current->ChildAt(i, *getter_AddRefs(current));
|
||||
aContent->ChildAt(i, *getter_AddRefs(current));
|
||||
|
||||
GetElementByAttribute(current, aAttrName, aAttrValue, aUniversalMatch, aResult);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче