summaryrefslogtreecommitdiff
path: root/accessible/windows/msaa/Compatibility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'accessible/windows/msaa/Compatibility.cpp')
-rw-r--r--accessible/windows/msaa/Compatibility.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/accessible/windows/msaa/Compatibility.cpp b/accessible/windows/msaa/Compatibility.cpp
index 31026c586f..9500e875d7 100644
--- a/accessible/windows/msaa/Compatibility.cpp
+++ b/accessible/windows/msaa/Compatibility.cpp
@@ -7,7 +7,6 @@
#include "Compatibility.h"
#include "nsWinUtils.h"
-#include "Statistics.h"
#include "mozilla/Preferences.h"
@@ -52,8 +51,6 @@ uint32_t Compatibility::sConsumers = Compatibility::UNKNOWN;
void
Compatibility::Init()
{
- // Note we collect some AT statistics/telemetry here for convenience.
-
HMODULE jawsHandle = ::GetModuleHandleW(L"jhook");
if (jawsHandle)
sConsumers |= (IsModuleVersionLessThan(jawsHandle, 8, 2173)) ?
@@ -92,15 +89,6 @@ Compatibility::Init()
if (sConsumers != Compatibility::UNKNOWN)
sConsumers ^= Compatibility::UNKNOWN;
- // Gather telemetry
- uint32_t temp = sConsumers;
- for (int i = 0; temp; i++) {
- if (temp & 0x1)
- statistics::A11yConsumers(i);
-
- temp >>= 1;
- }
-
// Turn off new tab switching for Jaws and WE.
if (sConsumers & (JAWS | OLDJAWS | WE)) {
// Check to see if the pref for disallowing CtrlTab is already set. If so,