mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1451524: Make interceptor shared VM policy compatible with changes from bug 1456054; r=handyman
--HG-- extra : rebase_source : 14d4eaedec28708978bac42495f3a1eed180ac48
This commit is contained in:
parent
a8a8ca5548
commit
b59f7ece0f
@ -212,6 +212,18 @@ public:
|
||||
return entry->mVMPolicy.Reserve(aCount);
|
||||
}
|
||||
|
||||
bool IsPageAccessible(void* aVAddress) const
|
||||
{
|
||||
AutoCriticalSection lock(&sCS);
|
||||
|
||||
ProcMapEntry* entry;
|
||||
if (!find(mPid, &entry)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return entry->mVMPolicy.IsPageAccessible(aVAddress);
|
||||
}
|
||||
|
||||
Trampoline<MMPolicy> GetNextTrampoline()
|
||||
{
|
||||
AutoCriticalSection lock(&sCS);
|
||||
|
Loading…
Reference in New Issue
Block a user