mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Tweaked to avoid a crash in case bloat tracking is on but there is no bloat data to dump
This commit is contained in:
parent
8d52cf697b
commit
bf334bfc2d
@ -289,7 +289,7 @@ void
|
||||
nsTraceRefcnt::DumpStatistics()
|
||||
{
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
if (!gTrackBloat) {
|
||||
if (!gTrackBloat || !gBloatView) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -289,7 +289,7 @@ void
|
||||
nsTraceRefcnt::DumpStatistics()
|
||||
{
|
||||
#ifdef NS_BUILD_REFCNT_LOGGING
|
||||
if (!gTrackBloat) {
|
||||
if (!gTrackBloat || !gBloatView) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user