diff options
author | Moonchild <moonchild@palemoon.org> | 2021-10-29 11:02:27 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-02 14:39:54 +0200 |
commit | ee86d3eb9c468edbb81550d27114ed66b3d71ee5 (patch) | |
tree | a00ffa052ffb8d072203938f595548dcd3b2e0ed /dom/base/Navigator.cpp | |
parent | d0acadd727468ccaa4e3cbe3673e29890c2551ca (diff) | |
download | uxp-ee86d3eb9c468edbb81550d27114ed66b3d71ee5.tar.gz |
Issue #21 - Remove Telemetry plumbing and fix build.
Note this won't give working applications. Requires FE changes and
additional js module changes (next part).
Diffstat (limited to 'dom/base/Navigator.cpp')
-rw-r--r-- | dom/base/Navigator.cpp | 5 |
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; } |