commit | 00e78b454c1699c85fa8ae9065afbe1b975ed8f1 | [log] [tgz] |
---|---|---|
author | Andrew Paseltiner <apaseltiner@chromium.org> | Thu Mar 13 18:07:51 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 13 18:07:51 2025 |
tree | b00146cf8b182523562469f700b96e271d1e6609 | |
parent | 48566dac1e6d8a95dcaf8112feba90c3517e4c46 [diff] |
Avoid transient std::string construction when deserializing GURL from database GURL lacks a single-argument constructor accepting a std::string; rather, it accepts a std::string_view, so there is no need to create a temporary string; sql::Statement::ColumnStringView can be used instead. Bug: 403218784 Change-Id: I899cee54e4eb35ff6efaedb18152cdacf9d308a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6351720 Owners-Override: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Andrew Paseltiner <apaseltiner@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1432241}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.