diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 05:05:28 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 05:05:28 -0400 |
commit | f07f8aecb8a03d33d0b90d685d85960a29543c75 (patch) | |
tree | 27046a4abd20e458e1cdb80ff1651729c8c6f781 /dom/base/Element.h | |
parent | 9f6cb6874e537fd4f451e507b1832b94b04d9d97 (diff) | |
download | UXP-f07f8aecb8a03d33d0b90d685d85960a29543c75.tar UXP-f07f8aecb8a03d33d0b90d685d85960a29543c75.tar.gz UXP-f07f8aecb8a03d33d0b90d685d85960a29543c75.tar.lz UXP-f07f8aecb8a03d33d0b90d685d85960a29543c75.tar.xz UXP-f07f8aecb8a03d33d0b90d685d85960a29543c75.zip |
Bug 1352389 -Don't push extra script blocker on stack when setting attributes
Tag #1375
Diffstat (limited to 'dom/base/Element.h')
-rw-r--r-- | dom/base/Element.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dom/base/Element.h b/dom/base/Element.h index aa917bffc..6b55cf8cd 100644 --- a/dom/base/Element.h +++ b/dom/base/Element.h @@ -41,6 +41,7 @@ #include "Units.h" #include "DOMIntersectionObserver.h" +class mozAutoDocUpdate; class nsIFrame; class nsIDOMMozNamedAttrMap; class nsIURI; @@ -1269,6 +1270,7 @@ protected: * @param aFireMutation should mutation-events be fired? * @param aNotify should we notify document-observers? * @param aCallAfterSetAttr should we call AfterSetAttr? + * @param aComposedDocument The current composed document of the element. */ nsresult SetAttrAndNotify(int32_t aNamespaceID, nsIAtom* aName, @@ -1278,7 +1280,9 @@ protected: uint8_t aModType, bool aFireMutation, bool aNotify, - bool aCallAfterSetAttr); + bool aCallAfterSetAttr, + nsIDocument* aComposedDocument, + const mozAutoDocUpdate& aGuard); /** * Scroll to a new position using behavior evaluated from CSS and |