From 016c4ccd5b634eedd65a3b7a87386f40e58cd258 Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Thu, 3 Oct 2019 04:49:15 +0000 Subject: [PATCH] Bug 1514926 - Followup: remove now unused arrowscrollbox check from MayNeedToLoadXBLBinding. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D48023 --HG-- extra : moz-landing-system : lando --- dom/base/Element.cpp | 3 +-- xpcom/ds/StaticAtoms.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dom/base/Element.cpp b/dom/base/Element.cpp index ae859f234146..5010026dea86 100644 --- a/dom/base/Element.cpp +++ b/dom/base/Element.cpp @@ -518,8 +518,7 @@ void Element::ClearStyleStateLocks() { } static bool MayNeedToLoadXBLBinding(const Element& aElement) { - if (!aElement.IsAnyOfXULElements(nsGkAtoms::panel, nsGkAtoms::textbox, - nsGkAtoms::arrowscrollbox)) { + if (!aElement.IsAnyOfXULElements(nsGkAtoms::panel, nsGkAtoms::textbox)) { // Other elements no longer have XBL bindings. Please don't add to the list // above unless completely necessary. return false; diff --git a/xpcom/ds/StaticAtoms.py b/xpcom/ds/StaticAtoms.py index 7a58c3db0f0e..f81e792f4cf4 100644 --- a/xpcom/ds/StaticAtoms.py +++ b/xpcom/ds/StaticAtoms.py @@ -143,7 +143,6 @@ STATIC_ATOMS = [ Atom("aria_valuemin", "aria-valuemin"), Atom("aria_valuenow", "aria-valuenow"), Atom("arrow", "arrow"), - Atom("arrowscrollbox", "arrowscrollbox"), Atom("article", "article"), Atom("as", "as"), Atom("ascending", "ascending"),