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