diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2017-08-18 13:39:37 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-12 10:01:04 +0100 |
commit | ea44e60b7ed5f674b6de65fad669ac43a45438cc (patch) | |
tree | 38b4e34c1859e6881c428f962cf47a1cc52cbd5b /dom/html/HTMLSelectElement.cpp | |
parent | 6be9e507077bfdd2b8c82c203cf70f010ecce086 (diff) | |
download | UXP-ea44e60b7ed5f674b6de65fad669ac43a45438cc.tar UXP-ea44e60b7ed5f674b6de65fad669ac43a45438cc.tar.gz UXP-ea44e60b7ed5f674b6de65fad669ac43a45438cc.tar.lz UXP-ea44e60b7ed5f674b6de65fad669ac43a45438cc.tar.xz UXP-ea44e60b7ed5f674b6de65fad669ac43a45438cc.zip |
HTML - implement the labels attribute (follow up)
Diffstat (limited to 'dom/html/HTMLSelectElement.cpp')
-rw-r--r-- | dom/html/HTMLSelectElement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/html/HTMLSelectElement.cpp b/dom/html/HTMLSelectElement.cpp index 24ddabb65..53f42317a 100644 --- a/dom/html/HTMLSelectElement.cpp +++ b/dom/html/HTMLSelectElement.cpp @@ -735,12 +735,12 @@ HTMLSelectElement::SetLength(uint32_t aLength, ErrorResult& aRv) /* static */ bool -HTMLSelectElement::MatchSelectedOptions(nsIContent* aContent, +HTMLSelectElement::MatchSelectedOptions(Element* aElement, int32_t /* unused */, nsIAtom* /* unused */, void* /* unused*/) { - HTMLOptionElement* option = HTMLOptionElement::FromContent(aContent); + HTMLOptionElement* option = HTMLOptionElement::FromContent(aElement); return option && option->Selected(); } |