summaryrefslogtreecommitdiffstats
path: root/dom/base/DocumentFragment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/DocumentFragment.cpp')
-rw-r--r--dom/base/DocumentFragment.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/base/DocumentFragment.cpp b/dom/base/DocumentFragment.cpp
index 3eb2a0790..b3d0d9962 100644
--- a/dom/base/DocumentFragment.cpp
+++ b/dom/base/DocumentFragment.cpp
@@ -125,6 +125,10 @@ DocumentFragment::Constructor(const GlobalObject& aGlobal,
return window->GetDoc()->CreateDocumentFragment();
}
+NS_IMPL_CYCLE_COLLECTION_INHERITED(DocumentFragment,
+ FragmentOrElement,
+ mHost)
+
// QueryInterface implementation for DocumentFragment
NS_INTERFACE_MAP_BEGIN(DocumentFragment)
NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY