зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1406890: Fix detection for Baum Cobra in 64 bit processes. r=MarcoZ
The Compatibility code previously only tested for OsmHooks.dll to detect Baum Cobra. However, the 64 bit dll is called OsmHks64.dll. Update the code to test for both so that detection works in 64 bit processes. Aside from telemetry, this is also needed to ensure that the InSendMessageEx hook is used to work around RPC_E_CANTCALLOUT_ININPUTSYNCCALL. MozReview-Commit-ID: FjliZybHrZH --HG-- extra : rebase_source : a4b53abf86206dd8ecb4965a6ce1ba31545f0197
This commit is contained in:
Родитель
f733aff224
Коммит
2603668efb
|
@ -183,7 +183,7 @@ Compatibility::Init()
|
|||
if (::GetModuleHandleW(L"nvdaHelperRemote"))
|
||||
sConsumers |= NVDA;
|
||||
|
||||
if (::GetModuleHandleW(L"OsmHooks"))
|
||||
if (::GetModuleHandleW(L"OsmHooks") || ::GetModuleHandleW(L"OsmHks64"))
|
||||
sConsumers |= COBRA;
|
||||
|
||||
if (::GetModuleHandleW(L"WebFinderRemote"))
|
||||
|
|
Загрузка…
Ссылка в новой задаче