Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cr133] Unsafe variant of
String::FromUTF8
deleted
The was only one caller for it. Unfortunately we will have to rely on an unsafe buffer read for this case, because we are retrieving this buffer from libxml. Chromium change: https://chromium.googlesource.com/chromium/src/+/f179e94443e0ba171f9b3be9c9a49ebf8e52c9a5 commit f179e94443e0ba171f9b3be9c9a49ebf8e52c9a5 Author: Kent Tamura <[email protected]> Date: Thu Nov 14 13:32:48 2024 +0000 Spanification: Remove String::FromUTF8(const uint8_t*, size_t) We prefer FromUTF8(base::span<const uint8_t>). This CL has no behavior changes. Bug: 351564777
- Loading branch information