mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 07:18:39 +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
|
|
@ -205,12 +205,8 @@ NPError
|
|||
PluginInstanceParent::Destroy()
|
||||
{
|
||||
NPError retval;
|
||||
{ // Scope for timer
|
||||
Telemetry::AutoTimer<Telemetry::BLOCKED_ON_PLUGIN_INSTANCE_DESTROY_MS>
|
||||
timer(Module()->GetHistogramKey());
|
||||
if (!CallNPP_Destroy(&retval)) {
|
||||
retval = NPERR_GENERIC_ERROR;
|
||||
}
|
||||
if (!CallNPP_Destroy(&retval)) {
|
||||
retval = NPERR_GENERIC_ERROR;
|
||||
}
|
||||
|
||||
#if defined(OS_WIN)
|
||||
|
|
@ -1785,9 +1781,6 @@ PluginInstanceParent::NPP_NewStream(NPMIMEType type, NPStream* stream,
|
|||
return NPERR_GENERIC_ERROR;
|
||||
}
|
||||
|
||||
Telemetry::AutoTimer<Telemetry::BLOCKED_ON_PLUGIN_STREAM_INIT_MS>
|
||||
timer(Module()->GetHistogramKey());
|
||||
|
||||
NPError err = NPERR_NO_ERROR;
|
||||
if (mParent->IsStartingAsync()) {
|
||||
MOZ_ASSERT(mSurrogate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue