Bug 1418085 part 5. Remove nsIDOMHTMLInputElement::GetList. r=mystor

MozReview-Commit-ID: JbWMti82q3R
This commit is contained in:
Boris Zbarsky 2018-01-30 00:25:36 -05:00
Родитель b9771573b3
Коммит 5aa0298e34
2 изменённых файлов: 3 добавлений и 18 удалений

Просмотреть файл

@ -1887,20 +1887,6 @@ HTMLInputElement::GetList() const
return static_cast<nsGenericHTMLElement*>(element);
}
NS_IMETHODIMP
HTMLInputElement::GetList(nsIDOMHTMLElement** aValue)
{
*aValue = nullptr;
RefPtr<nsGenericHTMLElement> element = GetList();
if (!element) {
return NS_OK;
}
element.forget(aValue);
return NS_OK;
}
void
HTMLInputElement::SetValue(Decimal aValue, CallerType aCallerType)
{

Просмотреть файл

@ -3,11 +3,12 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "nsIDOMHTMLElement.idl"
#include "nsISupports.idl"
interface nsIControllers;
interface nsIDOMFileList;
interface nsIDOMValidityState;
interface nsIDOMHTMLFormElement;
/**
* The nsIDOMHTMLInputElement interface is the interface to a [X]HTML
@ -30,11 +31,9 @@ interface nsIDOMHTMLInputElement : nsISupports
attribute boolean indeterminate;
readonly attribute nsIDOMHTMLElement list;
attribute DOMString name;
attribute boolean readOnly;
readonly attribute nsIControllers controllers;
readonly attribute nsIControllers controllers;
};