Chromium 138.0.7204.183
This commit is contained in:
parent
7c0b566a47
commit
404c44c8fa
117 changed files with 122161 additions and 0 deletions
24
chromium-lts/fix-study-crash.patch
Normal file
24
chromium-lts/fix-study-crash.patch
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
--- a/components/variations/proto/study.proto
|
||||
+++ b/components/variations/proto/study.proto
|
||||
@@ -264,6 +264,9 @@
|
||||
// A Mac-only value, indicating an x86-64 binary running on an arm64 host
|
||||
// via "Rosetta 2" binary translation.
|
||||
TRANSLATED_X86_64 = 4;
|
||||
+
|
||||
+ // A POSIX-only value, indicating an OpenPOWER host
|
||||
+ PPC64 = 5;
|
||||
}
|
||||
|
||||
// Enum to pass as optional bool.
|
||||
--- a/components/variations/service/variations_field_trial_creator_base.cc
|
||||
+++ b/components/variations/service/variations_field_trial_creator_base.cc
|
||||
@@ -109,6 +109,9 @@
|
||||
if (process_arch == "x86") {
|
||||
return Study::X86_32;
|
||||
}
|
||||
+ if (process_arch == "PPC_64") {
|
||||
+ return Study::PPC64;
|
||||
+ }
|
||||
if (process_arch == "x86_64") {
|
||||
std::string os_arch = base::SysInfo::OperatingSystemArchitecture();
|
||||
if (base::StartsWith(os_arch, "arm",
|
||||
Loading…
Add table
Add a link
Reference in a new issue