mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS) - Stub out several profiler-only functions.
This commit is contained in:
parent
3fe8aff3f5
commit
1a823f5ad6
113 changed files with 12 additions and 24501 deletions
|
|
@ -4064,23 +4064,6 @@ PresShell::FlushPendingNotifications(mozilla::ChangesToFlush aFlush)
|
|||
*/
|
||||
mozFlushType flushType = aFlush.mFlushType;
|
||||
|
||||
#ifdef MOZ_ENABLE_PROFILER_SPS
|
||||
static const char flushTypeNames[][20] = {
|
||||
"Content",
|
||||
"ContentAndNotify",
|
||||
"Style",
|
||||
"InterruptibleLayout",
|
||||
"Layout",
|
||||
"Display"
|
||||
};
|
||||
|
||||
// Make sure that we don't miss things added to mozFlushType!
|
||||
MOZ_ASSERT(static_cast<uint32_t>(flushType) <= ArrayLength(flushTypeNames));
|
||||
|
||||
PROFILER_LABEL_PRINTF("PresShell", "Flush",
|
||||
js::ProfileEntry::Category::GRAPHICS, "(Flush_%s)", flushTypeNames[flushType - 1]);
|
||||
#endif
|
||||
|
||||
#ifdef ACCESSIBILITY
|
||||
#ifdef DEBUG
|
||||
nsAccessibilityService* accService = GetAccService();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue