зеркало из https://github.com/mozilla/gecko-dev.git
Backout Bug 679945 until we sort out some non-Firefox linking issues.
This commit is contained in:
Родитель
777543a78e
Коммит
077f02e01b
|
@ -51,7 +51,6 @@
|
|||
* a11y telemetry
|
||||
*/
|
||||
HISTOGRAM(A11Y_INSTANTIATED, 0, 1, 2, BOOLEAN, "has accessibility support been instantiated")
|
||||
HISTOGRAM(DLLBLOCKLIST_HOOK_INSTALLED, 0, 1, 2, BOOLEAN, "was the DLL blocklist hook installed successfully")
|
||||
|
||||
HISTOGRAM(CYCLE_COLLECTOR, 1, 10000, 50, EXPONENTIAL, "Time spent on one cycle collection (ms)")
|
||||
HISTOGRAM(CYCLE_COLLECTOR_VISITED_REF_COUNTED, 1, 300000, 50, EXPONENTIAL, "Number of ref counted objects visited by the cycle collector")
|
||||
|
|
|
@ -55,10 +55,6 @@
|
|||
#define IN_WINDOWS_DLL_BLOCKLIST
|
||||
#include "nsWindowsDllBlocklist.h"
|
||||
|
||||
#include "mozilla/Telemetry.h"
|
||||
|
||||
using namespace mozilla;
|
||||
|
||||
#ifndef STATUS_DLL_NOT_FOUND
|
||||
#define STATUS_DLL_NOT_FOUND ((DWORD)0xC0000135L)
|
||||
#endif
|
||||
|
@ -226,7 +222,6 @@ XRE_SetupDllBlocklist()
|
|||
|
||||
bool ok = NtDllIntercept.AddHook("LdrLoadDll", reinterpret_cast<intptr_t>(patched_LdrLoadDll), (void**) &stub_LdrLoadDll);
|
||||
|
||||
Telemetry::Accumulate(Telemetry::DLLBLOCKLIST_HOOK_INSTALLED, ok ? 1 : 0);
|
||||
#ifdef DEBUG
|
||||
if (!ok)
|
||||
printf_stderr ("LdrLoadDll hook failed, no dll blocklisting active\n");
|
||||
|
|
Загрузка…
Ссылка в новой задаче