summaryrefslogtreecommitdiff
path: root/dom/base/Navigator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/Navigator.cpp')
-rw-r--r--dom/base/Navigator.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/dom/base/Navigator.cpp b/dom/base/Navigator.cpp
index 4fd7405644..5ad763af76 100644
--- a/dom/base/Navigator.cpp
+++ b/dom/base/Navigator.cpp
@@ -28,7 +28,6 @@
#include "nsContentUtils.h"
#include "nsUnicharUtils.h"
#include "mozilla/Preferences.h"
-#include "mozilla/Telemetry.h"
#ifdef MOZ_GAMEPAD
#include "mozilla/dom/GamepadServiceTest.h"
#endif
@@ -1616,9 +1615,7 @@ Navigator::RequestMediaKeySystemAccess(const nsAString& aKeySystem,
nsCOMPtr<nsIGlobalObject> go = do_QueryInterface(mWindow);
RefPtr<DetailedPromise> promise =
DetailedPromise::Create(go, aRv,
- NS_LITERAL_CSTRING("navigator.requestMediaKeySystemAccess"),
- Telemetry::VIDEO_EME_REQUEST_SUCCESS_LATENCY_MS,
- Telemetry::VIDEO_EME_REQUEST_FAILURE_LATENCY_MS);
+ NS_LITERAL_CSTRING("navigator.requestMediaKeySystemAccess"));
if (aRv.Failed()) {
return nullptr;
}