diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-06 14:07:01 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-12-06 14:07:01 +0100 |
commit | 5d4c82e0923e63077738ba4b63ab290810537f11 (patch) | |
tree | 7fe3b0f2005fa4070f0066544f7da39f9d9bf316 /dom/base/nsDocument.h | |
parent | 44967b330d3aec6959410c3f54d9cbcc04059aac (diff) | |
download | UXP-5d4c82e0923e63077738ba4b63ab290810537f11.tar UXP-5d4c82e0923e63077738ba4b63ab290810537f11.tar.gz UXP-5d4c82e0923e63077738ba4b63ab290810537f11.tar.lz UXP-5d4c82e0923e63077738ba4b63ab290810537f11.tar.xz UXP-5d4c82e0923e63077738ba4b63ab290810537f11.zip |
Update identifier map entries and notify if they get removed.
This can happen through DestroyElementMaps()
Based on work by Markus Stange and Edgar Chen.
Diffstat (limited to 'dom/base/nsDocument.h')
-rw-r--r-- | dom/base/nsDocument.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/base/nsDocument.h b/dom/base/nsDocument.h index 2b29b98fa..ac600eb43 100644 --- a/dom/base/nsDocument.h +++ b/dom/base/nsDocument.h @@ -216,6 +216,11 @@ public: void RemoveContentChangeCallback(nsIDocument::IDTargetObserver aCallback, void* aData, bool aForImage); + /** + * Remove all elements and notify change listeners. + */ + void ClearAndNotify(); + void Traverse(nsCycleCollectionTraversalCallback* aCallback); struct ChangeCallback { |