Backout Bug 679945 until we sort out some non-Firefox linking issues.

This commit is contained in:
Kyle Huey 2011-08-31 18:17:18 -04:00
Родитель 777543a78e
Коммит 077f02e01b
2 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -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");