mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Remove all C++ telemetry autotimers
This commit is contained in:
parent
8c8145e620
commit
ad782894c8
28 changed files with 37 additions and 119 deletions
|
|
@ -1206,11 +1206,8 @@ nsDocumentViewer::PermitUnloadInternal(bool *aShouldPrompt,
|
|||
nsIDocument::PageUnloadingEventTimeStamp timestamp(mDocument);
|
||||
|
||||
mInPermitUnload = true;
|
||||
{
|
||||
Telemetry::AutoTimer<Telemetry::HANDLE_BEFOREUNLOAD_MS> telemetryTimer;
|
||||
EventDispatcher::DispatchDOMEvent(window, nullptr, event, mPresContext,
|
||||
EventDispatcher::DispatchDOMEvent(window, nullptr, event, mPresContext,
|
||||
nullptr);
|
||||
}
|
||||
mInPermitUnload = false;
|
||||
}
|
||||
|
||||
|
|
@ -1389,10 +1386,7 @@ nsDocumentViewer::PageHide(bool aIsUnload)
|
|||
|
||||
nsIDocument::PageUnloadingEventTimeStamp timestamp(mDocument);
|
||||
|
||||
{
|
||||
Telemetry::AutoTimer<Telemetry::HANDLE_UNLOAD_MS> telemetryTimer;
|
||||
EventDispatcher::Dispatch(window, mPresContext, &event, nullptr, &status);
|
||||
}
|
||||
EventDispatcher::Dispatch(window, mPresContext, &event, nullptr, &status);
|
||||
}
|
||||
|
||||
#ifdef MOZ_XUL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue