mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-10 02:08:38 +09:00
Update identifier map entries and notify if they get removed.
This can happen through DestroyElementMaps() Based on work by Markus Stange and Edgar Chen.
This commit is contained in:
parent
c0a28dbd30
commit
39cc10dde8
4 changed files with 81 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue