зеркало из https://github.com/mozilla/gecko-dev.git
Bug 606473 - Enable plugin hooks once WindowsDllInterceptor supports 64-bit. r=bsmedberg
This commit is contained in:
Родитель
4befa4efb9
Коммит
c9033d133b
|
@ -493,12 +493,6 @@ SetWindowLongWHook(HWND hWnd,
|
||||||
static void
|
static void
|
||||||
HookSetWindowLongPtr()
|
HookSetWindowLongPtr()
|
||||||
{
|
{
|
||||||
#ifdef _WIN64
|
|
||||||
// XXX WindowsDllInterceptor doesn't support hooks
|
|
||||||
// in 64-bit builds, disabling this code for now.
|
|
||||||
return;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
sUser32Intercept.Init("user32.dll");
|
sUser32Intercept.Init("user32.dll");
|
||||||
#ifdef _WIN64
|
#ifdef _WIN64
|
||||||
sUser32Intercept.AddHook("SetWindowLongPtrA", reinterpret_cast<intptr_t>(SetWindowLongPtrAHook),
|
sUser32Intercept.AddHook("SetWindowLongPtrA", reinterpret_cast<intptr_t>(SetWindowLongPtrAHook),
|
||||||
|
|
|
@ -1478,12 +1478,6 @@ PluginInstanceChild::SetWindowLongWHook(HWND hWnd,
|
||||||
void
|
void
|
||||||
PluginInstanceChild::HookSetWindowLongPtr()
|
PluginInstanceChild::HookSetWindowLongPtr()
|
||||||
{
|
{
|
||||||
#ifdef _WIN64
|
|
||||||
// XXX WindowsDllInterceptor doesn't support hooks
|
|
||||||
// in 64-bit builds, disabling this code for now.
|
|
||||||
return;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (!(GetQuirks() & PluginModuleChild::QUIRK_FLASH_HOOK_SETLONGPTR))
|
if (!(GetQuirks() & PluginModuleChild::QUIRK_FLASH_HOOK_SETLONGPTR))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче