mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 947812 - bracket log calls with #ifdef PR_LOGGING. r=heycam
This commit is contained in:
parent
5aada6624a
commit
6344fce7da
@ -192,11 +192,13 @@ gfxPlatformFontList::InitOtherFamilyNames()
|
||||
TimeStamp end = TimeStamp::Now();
|
||||
Telemetry::AccumulateTimeDelta(Telemetry::FONTLIST_INITOTHERFAMILYNAMES,
|
||||
start, end);
|
||||
#ifdef PR_LOGGING
|
||||
if (LOG_FONTINIT_ENABLED()) {
|
||||
TimeDuration elapsed = end - start;
|
||||
LOG_FONTINIT(("(fontinit) InitOtherFamilyNames took %8.2f ms",
|
||||
elapsed.ToMilliseconds()));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
PLDHashOperator
|
||||
@ -222,11 +224,13 @@ gfxPlatformFontList::InitFaceNameLists()
|
||||
TimeStamp end = TimeStamp::Now();
|
||||
Telemetry::AccumulateTimeDelta(Telemetry::FONTLIST_INITFACENAMELISTS,
|
||||
start, end);
|
||||
#ifdef PR_LOGGING
|
||||
if (LOG_FONTINIT_ENABLED()) {
|
||||
TimeDuration elapsed = end - start;
|
||||
LOG_FONTINIT(("(fontinit) InitFaceNameLists took %8.2f ms",
|
||||
elapsed.ToMilliseconds()));
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
PLDHashOperator
|
||||
|
Loading…
Reference in New Issue
Block a user