Backed out changeset d46dcd6bc7e7 (bug 1137609) to land a better fix. Unrelated to the CLOSED TREE

--HG--
extra : amend_source : 92badc22bd8bce343ce9675b57819afff8eeb534
This commit is contained in:
David Major 2015-03-03 19:07:27 +13:00
Родитель 3e940d4779
Коммит 786e0c77ee
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -128,8 +128,7 @@ Init()
MOZ_ASSERT(!GetModuleHandleA("msvcr120d.dll"));
#if defined(_M_IX86) && defined(_MSC_VER)
// Add the hook on all XP because we can't trust the SP version (bug 1137609)
if (!mozilla::IsWin2003OrLater()) {
if (!mozilla::IsXPSP3OrLater()) {
NtdllIntercept.Init("ntdll.dll");
NtdllIntercept.AddHook("RtlImageNtHeader",
reinterpret_cast<intptr_t>(patched_RtlImageNtHeader),