[gin] SetProtection should return result
When SetProtection is used for wasm memory, it can fail if not enough memory is available when growing. Fix to return the result of system calls. As coordination in needed between V8/Gin - this change adds a new SetProtection method with a boolean return, subsequent changes in V8/Chromium will swap this out to be the default SetProtection method. Bug: 775047 Change-Id: I9f55d156c8317be8c012de60940d1698db439c86 Reviewed-on: https://chromium-review.googlesource.com/753429Reviewed-by:Michael Lippautz <mlippautz@chromium.org> Reviewed-by:
Jeremy Roman <jbroman@chromium.org> Reviewed-by:
Ross McIlroy <rmcilroy@chromium.org> Reviewed-by:
Adam Klein <adamk@chromium.org> Commit-Queue: Deepti Gandluri <gdeepti@chromium.org> Cr-Commit-Position: refs/heads/master@{#524457}
Showing
Please register or sign in to comment