Bug 1412437 - Remove nsIDOMHTMLTextAreaElement; r=bz

MozReview-Commit-ID: JAON7Rd7IAo
This commit is contained in:
Kyle Machulis
2017-10-30 16:14:51 -07:00
parent 0f0043a084
commit 7252caefb4
21 changed files with 97 additions and 189 deletions

View File

@@ -15,7 +15,7 @@
#include "nsContentList.h"
#include "mozilla/dom/HTMLInputElement.h"
#include "nsIDOMHTMLTextAreaElement.h"
#include "mozilla/dom/HTMLTextAreaElement.h"
#include "nsIEditor.h"
#include "nsIFormControl.h"
#include "nsIPersistentProperties2.h"
@@ -345,7 +345,7 @@ HTMLTextFieldAccessible::Value(nsString& aValue)
if (NativeState() & states::PROTECTED) // Don't return password text!
return;
nsCOMPtr<nsIDOMHTMLTextAreaElement> textArea(do_QueryInterface(mContent));
HTMLTextAreaElement* textArea = HTMLTextAreaElement::FromContent(mContent);
if (textArea) {
textArea->GetValue(aValue);
return;