mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
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:
committed by
GitHub
parent
0c103f390c
commit
f2240e07f0
@@ -308,9 +308,7 @@ int ElectronBrowserMainParts::PreCreateThreads() {
|
||||
auto env = base::Environment::Create();
|
||||
std::optional<std::string> lc_all;
|
||||
if (!locale.empty()) {
|
||||
std::string str;
|
||||
if (env->GetVar("LC_ALL", &str))
|
||||
lc_all.emplace(std::move(str));
|
||||
lc_all = env->GetVar("LC_ALL");
|
||||
env->SetVar("LC_ALL", locale);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user