mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +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,7 @@ public:
|
|||
// nsIWeakReference...
|
||||
NS_DECL_NSIWEAKREFERENCE
|
||||
virtual size_t SizeOfOnlyThis(mozilla::MallocSizeOf aMallocSizeOf) const override;
|
||||
bool IsAlive() const override { return mReferent != nullptr; }
|
||||
|
||||
private:
|
||||
MOZ_WEAKREF_DECL_OWNINGTHREAD
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue