Bug 1128054 - Part 2: Don't need to override TabIndexDefault in HTMLEmbedElement; r=smaug

Given that the Element::TabIndexDefault returns -1 already.

Depends on D68208

Differential Revision: https://phabricator.services.mozilla.com/D68209

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Edgar Chen 2020-03-27 13:01:07 +00:00
parent f5e780a340
commit f065f45fec
2 changed files with 0 additions and 3 deletions

View File

@ -176,8 +176,6 @@ nsIContent::IMEState HTMLEmbedElement::GetDesiredIMEState() {
return nsGenericHTMLElement::GetDesiredIMEState();
}
int32_t HTMLEmbedElement::TabIndexDefault() { return -1; }
bool HTMLEmbedElement::ParseAttribute(int32_t aNamespaceID, nsAtom* aAttribute,
const nsAString& aValue,
nsIPrincipal* aMaybeScriptedPrincipal,

View File

@ -26,7 +26,6 @@ class HTMLEmbedElement final : public nsGenericHTMLElement,
// nsISupports
NS_DECL_ISUPPORTS_INHERITED
NS_IMPL_FROMNODE_HTML_WITH_TAG(HTMLEmbedElement, embed)
virtual int32_t TabIndexDefault() override;
#ifdef XP_MACOSX
// EventTarget