| commit | 205c24ed95f5016eb1fe68a15a49f6294b20f2f1 | [log] [tgz] |
|---|---|---|
| author | Ilya Nikolaevskiy <ilnik@webrtc.org> | Thu May 15 10:57:30 2025 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu May 15 11:50:21 2025 |
| tree | 669d28eaf386521fdcf99d406819033af0784610 | |
| parent | 4d52fa953c5ea7b1e16d961ea045a1ec19a40cac [diff] |
Fix -Wshadow compile error in chromium import for screen_capturer_fuchsia.cc Bug: none Change-Id: I4392e79fec83efcbe3ee220860388b5a10330e8d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/391800 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Ilya Nikolaevskiy <ilnik@webrtc.org> Cr-Commit-Position: refs/heads/main@{#44635}
diff --git a/modules/desktop_capture/screen_capturer_fuchsia.cc b/modules/desktop_capture/screen_capturer_fuchsia.cc index 7294290..5fb9e39 100644 --- a/modules/desktop_capture/screen_capturer_fuchsia.cc +++ b/modules/desktop_capture/screen_capturer_fuchsia.cc
@@ -387,7 +387,7 @@ const zx::vmo& virt_mem = buffer_collection_info_.buffers()[buffer_index].vmo(); virtual_memory_mapped_addrs_[buffer_index] = nullptr; - auto status = zx::vmar::root_self()->map( + status = zx::vmar::root_self()->map( ZX_VM_PERM_READ, /*vmar_offset*/ 0, virt_mem, /*vmo_offset*/ 0, virt_mem_bytes, reinterpret_cast<uintptr_t*>(