| Auto-Submit | +1 |
Hi Eugene, could you please take a look?
#include "base/compiler_specific.h"Note: (this is only useful for the presubmit, this is a pre-existing issue)
> media/midi/midi_manager_mac.cc:112 ARCH_CPU_64_BITS macro is used without first including build/build_config.h.
UNSAFE_TODO(base::span<const uint8_t>(kAvc1Box, sizeof(kAvc1Box))));Note: `base::span` has safe constructors. If `kAvc1Box` is a fixed-size C-array, `base::span(kAvc1Box)` should automatically deduce the size safely without needing sizeof().
I can submit follow-ups trying to fix the trivial instances like this if you want.
I do prefer follow-ups to keep this patch purely as a mechanical change.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Convert to UNSAFE_TODO in media [1/7] Mac and Apple
This was generated using [Script] below, followed by Gemini to
Address the unsupported/difficult cases.
We are migrating from coarse-grained file-level suppression (#pragma
allow_unsafe_buffers) to granular, expression-level markers
(UNSAFE_TODO()). The pragma disables safety checks for an entire file,
whereas UNSAFE_TODO() isolates specific potentially unsafe operations,
allowing the rest of the file to be enforced as safe.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |