Commit 9abc945a authored by Hannes Payer's avatar Hannes Payer Committed by Commit Bot

Adding DiscardSystemPages to gin/v8_platform.cc

Bug: chromium:897074
Change-Id: Id9dd6a634fce75e39f1d01f832337ff8702e042c
Reviewed-on: https://chromium-review.googlesource.com/c/1293452Reviewed-by: default avatarJochen Eisinger <jochen@chromium.org>
Reviewed-by: default avatarMichael Lippautz <mlippautz@chromium.org>
Commit-Queue: Hannes Payer <hpayer@chromium.org>
Cr-Commit-Position: refs/heads/master@{#601889}
parent 761d47b9
......@@ -249,6 +249,11 @@ class PageAllocator : public v8::PageAllocator {
GetPageConfig(permissions));
}
}
bool DiscardSystemPages(void* address, size_t size) override {
base::DiscardSystemPages(address, size);
return true;
}
};
base::LazyInstance<PageAllocator>::Leaky g_page_allocator =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment