Bug 1465875 part 5. Eliminate nsIDOMNSEditableElement. r=qdot

This commit is contained in:
Boris Zbarsky
2018-06-01 22:35:23 -04:00
parent da7e34a17c
commit a0e4948ccd
9 changed files with 16 additions and 111 deletions

View File

@@ -87,7 +87,6 @@ NS_IMPL_CYCLE_COLLECTION_INHERITED(HTMLTextAreaElement,
NS_IMPL_ISUPPORTS_CYCLE_COLLECTION_INHERITED(HTMLTextAreaElement,
nsGenericHTMLFormElementWithState,
nsITextControlElement,
nsIDOMNSEditableElement,
nsIMutationObserver,
nsIConstraintValidation)
@@ -357,13 +356,7 @@ HTMLTextAreaElement::SetValue(const nsAString& aValue, ErrorResult& aError)
void HTMLTextAreaElement::SetUserInput(const nsAString& aValue,
nsIPrincipal& aSubjectPrincipal)
{
SetUserInput(aValue);
}
NS_IMETHODIMP
HTMLTextAreaElement::SetUserInput(const nsAString& aValue)
{
return SetValueInternal(aValue,
SetValueInternal(aValue,
nsTextEditorState::eSetValue_BySetUserInput |
nsTextEditorState::eSetValue_Notify|
nsTextEditorState::eSetValue_MoveCursorToEndIfValueChanged);