mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
[DOM] Lock around memory reporting for XHR
This commit is contained in:
parent
562b04e5c0
commit
766c8e3ffd
1 changed files with 2 additions and 1 deletions
|
|
@ -201,8 +201,9 @@ public:
|
|||
}
|
||||
|
||||
size_t
|
||||
SizeOfThis(MallocSizeOf aMallocSizeOf) const
|
||||
SizeOfThis(MallocSizeOf aMallocSizeOf)
|
||||
{
|
||||
MutexAutoLock lock(mMutex);
|
||||
return mData.SizeOfExcludingThisIfUnshared(aMallocSizeOf);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue