mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +09:00
Bug 1378537 - Store PerformanceEntry objects in AutoTArray; r=smaug
This commit is contained in:
parent
16a1923c3b
commit
75bef7b736
1 changed files with 6 additions and 3 deletions
|
|
@ -167,11 +167,14 @@ protected:
|
|||
nsTObserverArray<PerformanceObserver*> mObservers;
|
||||
|
||||
protected:
|
||||
nsTArray<RefPtr<PerformanceEntry>> mUserEntries;
|
||||
nsTArray<RefPtr<PerformanceEntry>> mResourceEntries;
|
||||
static const uint64_t kDefaultResourceTimingBufferSize = 1500;
|
||||
|
||||
// When kDefaultResourceTimingBufferSize is increased or removed, these should
|
||||
// be changed to use SegmentedVector
|
||||
AutoTArray<RefPtr<PerformanceEntry>, kDefaultResourceTimingBufferSize> mUserEntries;
|
||||
AutoTArray<RefPtr<PerformanceEntry>, kDefaultResourceTimingBufferSize> mResourceEntries;
|
||||
|
||||
uint64_t mResourceTimingBufferSize;
|
||||
static const uint64_t kDefaultResourceTimingBufferSize = 1500;
|
||||
bool mPendingNotificationObserversTask;
|
||||
|
||||
RefPtr<PerformanceService> mPerformanceService;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue