aboutsummaryrefslogtreecommitdiffstats
path: root/src/3rdparty/masm/wtf/PageReservation.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@digia.com>2014-10-21 16:47:53 +0200
committerUlf Hermann <ulf.hermann@digia.com>2014-10-30 13:19:33 +0100
commit625dae442419d3f75bcecbafeaca490cdd5413a8 (patch)
tree260ef75b180794ba4d4f8ed5ec4f18221604834e /src/3rdparty/masm/wtf/PageReservation.h
parent970ff81a14c93c4f41f384026220d4baad8eec70 (diff)
Allow page allocations to include guard pages
The PageAllocator is in principle capable of using guard pages. We can expose that functionality to its clients. Change-Id: I919f6f76310feb160d2b26ac1fc64db4e91804bb Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/3rdparty/masm/wtf/PageReservation.h')
-rw-r--r--src/3rdparty/masm/wtf/PageReservation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/3rdparty/masm/wtf/PageReservation.h b/src/3rdparty/masm/wtf/PageReservation.h
index 77783ebcc4..15be344fa8 100644
--- a/src/3rdparty/masm/wtf/PageReservation.h
+++ b/src/3rdparty/masm/wtf/PageReservation.h
@@ -125,7 +125,7 @@ public:
ASSERT(tmp);
ASSERT(!*this);
- OSAllocator::releaseDecommitted(tmp.base(), tmp.size());
+ OSAllocator::releaseDecommitted(tmp.realBase(), tmp.realSize());
}
private: