diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 06:15:38 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-04-17 06:15:38 -0400 |
commit | 8114d58fee29120ab4a7af7bd9b5c77252ab1d86 (patch) | |
tree | 8389b1c820801d8784a19e0e6d79471f29e5a3b4 /dom/base/ShadowRoot.h | |
parent | 071957f9fab1f5065730c79ccc46a660ace35569 (diff) | |
download | UXP-8114d58fee29120ab4a7af7bd9b5c77252ab1d86.tar UXP-8114d58fee29120ab4a7af7bd9b5c77252ab1d86.tar.gz UXP-8114d58fee29120ab4a7af7bd9b5c77252ab1d86.tar.lz UXP-8114d58fee29120ab4a7af7bd9b5c77252ab1d86.tar.xz UXP-8114d58fee29120ab4a7af7bd9b5c77252ab1d86.zip |
Bug 1396568 - Make DocumentFragment::mHost a strong reference (so that ShadowRoot.host doesn't become null)
Tag #1375
Diffstat (limited to 'dom/base/ShadowRoot.h')
-rw-r--r-- | dom/base/ShadowRoot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/base/ShadowRoot.h b/dom/base/ShadowRoot.h index f84078134..e76e4ab3f 100644 --- a/dom/base/ShadowRoot.h +++ b/dom/base/ShadowRoot.h @@ -42,7 +42,7 @@ public: NS_DECL_NSIMUTATIONOBSERVER_CONTENTINSERTED NS_DECL_NSIMUTATIONOBSERVER_CONTENTREMOVED - ShadowRoot(nsIContent* aContent, already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo, + ShadowRoot(Element* aElement, already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo, nsXBLPrototypeBinding* aProtoBinding); void AddToIdTable(Element* aElement, nsIAtom* aId); |