Commit f3f7b4e5 authored by Samuel Groß's avatar Samuel Groß Committed by V8 LUCI CQ

[base] Fix wrong variable name in platform-fuchsia.cc

Bug: chromium:1320126
Change-Id: Ieab14e0793e64c607ffee656eed66efe31be65f2
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3610434Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Commit-Queue: Samuel Groß <saelo@chromium.org>
Cr-Commit-Position: refs/heads/main@{#80249}
parent 844f3d64
...@@ -167,7 +167,7 @@ bool SetPermissionsInternal(const zx::vmar& vmar, size_t page_size, ...@@ -167,7 +167,7 @@ bool SetPermissionsInternal(const zx::vmar& vmar, size_t page_size,
DCHECK_EQ(0, reinterpret_cast<uintptr_t>(address) % page_size); DCHECK_EQ(0, reinterpret_cast<uintptr_t>(address) % page_size);
DCHECK_EQ(0, size % page_size); DCHECK_EQ(0, size % page_size);
uint32_t prot = GetProtectionFromMemoryPermission(access); uint32_t prot = GetProtectionFromMemoryPermission(access);
zx_status_t result = zx_status_t status =
vmar.protect(prot, reinterpret_cast<uintptr_t>(address), size); vmar.protect(prot, reinterpret_cast<uintptr_t>(address), size);
// Any failure that's not OOM likely indicates a bug in the caller (e.g. // Any failure that's not OOM likely indicates a bug in the caller (e.g.
......
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