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:
Tom Ritter 2018-09-12 18:24:20 +00:00
parent 0f496e199e
commit 3fec4a70cd

View File

@ -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;