chore: bump chromium to 137.0.7149.0 (main) (#46777)

* chore: bump chromium in DEPS to 137.0.7144.0

* chore: bump chromium in DEPS to 137.0.7145.0

* chore: bump chromium in DEPS to 137.0.7147.0

* chore: update patches

* Remove deprecated GetVar(std::string_view, std::string*) overload

Refs https://chromium-review.googlesource.com/c/chromium/src/+/6468873

* fixup! Remove deprecated GetVar(std::string_view, std::string*) overload

* fixup! Remove deprecated GetVar(std::string_view, std::string*) overload

* chore: bump chromium in DEPS to 137.0.7149.0

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
This commit is contained in:
electron-roller[bot] 2025-04-28 11:39:12 -04:00 committed by GitHub
commit f2240e07f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 174 additions and 183 deletions

View file

@ -9,9 +9,9 @@
namespace {
v8::Local<v8::Value> GetVar(v8::Isolate* isolate, const std::string& name) {
std::string value;
if (base::Environment::Create()->GetVar(name, &value)) {
return gin::StringToV8(isolate, value);
if (std::optional<std::string> value =
base::Environment::Create()->GetVar(name)) {
return gin::StringToV8(isolate, *value);
} else {
return v8::Null(isolate);
}