summaryrefslogtreecommitdiffstats
path: root/dom/plugins/ipc/PluginInstanceParent.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-04 10:06:24 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-04 10:07:40 +0200
commitb28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9 (patch)
tree0b6e4cfff6c1d4f699aa04c98c27744b4c0c481f /dom/plugins/ipc/PluginInstanceParent.cpp
parent45ec2bceb4822646805136b8874a3681b14e78ef (diff)
parent93cae908bcbd063f21d5663a7d3149464af2ad20 (diff)
downloadUXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar
UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar.gz
UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar.lz
UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.tar.xz
UXP-b28ab55f9675f2e97dda9a4fcac0d4f5267a2bb9.zip
Remove all C++ telemetry autotimers
Tag #21
Diffstat (limited to 'dom/plugins/ipc/PluginInstanceParent.cpp')
-rw-r--r--dom/plugins/ipc/PluginInstanceParent.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/dom/plugins/ipc/PluginInstanceParent.cpp b/dom/plugins/ipc/PluginInstanceParent.cpp
index fee2d2f98..bdd15ca99 100644
--- a/dom/plugins/ipc/PluginInstanceParent.cpp
+++ b/dom/plugins/ipc/PluginInstanceParent.cpp
@@ -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);