mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Bug 1490725 Add this-> to some interceptor code to fix the MinGW x86 build r=aklotz
Related to Bug 1480457 Differential Revision: https://phabricator.services.mozilla.com/D5677 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
0f496e199e
commit
3fec4a70cd
@ -43,7 +43,7 @@ public:
|
||||
// Restore the mov edi, edi to the beginning of each function we patched.
|
||||
|
||||
for (auto&& ptr : mPatchedFns) {
|
||||
WritableTargetFunction<MMPolicyT> fn(mVMPolicy,
|
||||
WritableTargetFunction<MMPolicyT> fn(this->mVMPolicy,
|
||||
reinterpret_cast<uintptr_t>(ptr),
|
||||
sizeof(uint16_t));
|
||||
if (!fn) {
|
||||
@ -146,7 +146,7 @@ public:
|
||||
}
|
||||
|
||||
ReadOnlyTargetFunction<MMPolicyT> readOnlyTargetFn(
|
||||
ResolveRedirectedAddress(aTargetFn));
|
||||
this->ResolveRedirectedAddress(aTargetFn));
|
||||
|
||||
if (!WriteHook(readOnlyTargetFn, aHookDest, aOrigFunc)) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user