mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-29 11:57:32 +09:00
Bug 1372829 - Part 2: mozilla::EditorBase should cache raw pointer of nsISelectionController and nsIDocument with nsWeakPtr
Tag #1375
This commit is contained in:
parent
5d444ef68a
commit
4e14355697
8 changed files with 288 additions and 164 deletions
|
|
@ -37,6 +37,11 @@ interface nsIWeakReference : nsISupports
|
|||
|
||||
%{C++
|
||||
virtual size_t SizeOfOnlyThis(mozilla::MallocSizeOf aMallocSizeOf) const = 0;
|
||||
|
||||
/**
|
||||
* Returns true if the referring object is alive. Otherwise, false.
|
||||
*/
|
||||
virtual bool IsAlive() const = 0;
|
||||
%}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue