Bug 1177013 - Telemetry for CPOW cancelation (r=dvander)

This commit is contained in:
Bill McCloskey
2015-06-30 17:12:30 -07:00
parent ed9f346d12
commit 6761b288aa
2 changed files with 8 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
#include "mozilla/DebugOnly.h"
#include "mozilla/Move.h"
#include "mozilla/SizePrintfMacros.h"
#include "mozilla/Telemetry.h"
#include "nsDebug.h"
#include "nsISupportsImpl.h"
#include "nsContentUtils.h"
@@ -2040,6 +2041,7 @@ void
CancelCPOWs()
{
if (gParentProcessBlocker) {
mozilla::Telemetry::Accumulate(mozilla::Telemetry::IPC_TRANSACTION_CANCEL, true);
gParentProcessBlocker->CancelCurrentTransaction();
}
}