mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
Bug 1506029 - Fix the way tracking of messages that have a large number of referents. r=njn
Differential Revision: https://phabricator.services.mozilla.com/D11440 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
0ef0024e3e
commit
36515cbbba
@ -1110,7 +1110,7 @@ MessageManagerReporter::CountReferents(nsFrameMessageManager* aMessageManager,
|
||||
|
||||
// Keep track of messages that have a suspiciously large
|
||||
// number of referents (symptom of leak).
|
||||
if (currentCount == MessageManagerReporter::kSuspectReferentCount) {
|
||||
if (currentCount >= MessageManagerReporter::kSuspectReferentCount) {
|
||||
aReferentCount->mSuspectMessages.AppendElement(key);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user