зеркало из https://github.com/mozilla/gecko-dev.git
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
This commit is contained in:
Родитель
c863ef674b
Коммит
016c4ccd5b
|
@ -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;
|
||||
|
|
|
@ -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"),
|
||||
|
|
Загрузка…
Ссылка в новой задаче