icecat: add release icecat-140.8.0-2 for aramo
This commit is contained in:
parent
d9a6c0aa96
commit
d570f39e11
616 changed files with 39955 additions and 33937 deletions
|
|
@ -687,7 +687,10 @@ class SimpleHTMLCollection final : public nsSimpleContentList,
|
|||
}
|
||||
virtual uint32_t Length() override { return nsSimpleContentList::Length(); }
|
||||
virtual Element* GetElementAt(uint32_t aIndex) override {
|
||||
return mElements.SafeElementAt(aIndex)->AsElement();
|
||||
if (nsIContent* content = mElements.SafeElementAt(aIndex)) {
|
||||
return content->AsElement();
|
||||
}
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
virtual Element* GetFirstNamedElement(const nsAString& aName,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue