-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
2,348 additions
and
138 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
common-files/chromium-patches/autofill-unique_ids-no-constexpr-operator-equal/6261.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
error: defaulted definition of equality comparison operator cannot be declared constexpr because it invokes a non-constexpr comparison function | ||
|
||
--- a/components/autofill/core/common/unique_ids.h | ||
+++ b/components/autofill/core/common/unique_ids.h | ||
@@ -137,7 +137,7 @@ | ||
|
||
friend constexpr auto operator<=>(const GlobalId<RendererId>& lhs, | ||
const GlobalId<RendererId>& rhs) = default; | ||
- friend constexpr bool operator==(const GlobalId<RendererId>& lhs, | ||
+ friend bool operator==(const GlobalId<RendererId>& lhs, | ||
const GlobalId<RendererId>& rhs) = default; | ||
}; | ||
|
11 changes: 11 additions & 0 deletions
11
common-files/chromium-patches/blink-font-constructor/6261.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/third_party/blink/renderer/platform/fonts/palette_interpolation.cc | ||
+++ b/third_party/blink/renderer/platform/fonts/palette_interpolation.cc | ||
@@ -31,7 +31,7 @@ | ||
color_interpolation_space, hue_interpolation_method, start_color, | ||
end_color, percentage, alpha_multiplier); | ||
|
||
- FontPalette::FontPaletteOverride result_color_record(i, result_color); | ||
+ FontPalette::FontPaletteOverride result_color_record{static_cast<uint16_t>(i), result_color}; | ||
result_color_records.push_back(result_color_record); | ||
} | ||
return result_color_records; |
16 changes: 16 additions & 0 deletions
16
common-files/chromium-patches/chromium-strong_alias-no-constexpr-operator-equal/6261.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
error: defaulted definition of equality comparison operator cannot be declared constexpr because it invokes a non-constexpr comparison function | ||
|
||
--- a/base/types/strong_alias.h | ||
+++ b/base/types/strong_alias.h | ||
@@ -108,9 +108,9 @@ | ||
// because it is from an external library), then a work-around is to create a | ||
// thin wrapper `W` around it, define `operator<=>` for the wrapper and create | ||
// a `StrongAlias<W>`. | ||
- friend constexpr auto operator<=>(const StrongAlias& lhs, | ||
+ friend auto operator<=>(const StrongAlias& lhs, | ||
const StrongAlias& rhs) = default; | ||
- friend constexpr bool operator==(const StrongAlias& lhs, | ||
+ friend bool operator==(const StrongAlias& lhs, | ||
const StrongAlias& rhs) = default; | ||
|
||
// Hasher to use in std::unordered_map, std::unordered_set, etc. |
16 changes: 16 additions & 0 deletions
16
common-files/chromium-patches/compiler-remove-unsupported-flags/6261.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- a/build/config/compiler/BUILD.gn | ||
+++ b/build/config/compiler/BUILD.gn | ||
@@ -1878,13 +1878,6 @@ | ||
# TODO(https://crbug.com/1490607): Fix and re-enable. | ||
"-Wno-thread-safety-reference-return", | ||
] | ||
- | ||
- if (!is_nacl) { | ||
- cflags_cc += [ | ||
- # TODO(https://crbug.com/1513724): Fix and re-enable. | ||
- "-Wno-c++11-narrowing-const-reference", | ||
- ] | ||
- } | ||
} | ||
|
||
# Some builders, such as Cronet, use a different version of Clang than |
13 changes: 13 additions & 0 deletions
13
common-files/chromium-patches/cpuinfo-android-arm/6261.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- a/third_party/cpuinfo/src/src/arm/linux/init.c | ||
+++ b/third_party/cpuinfo/src/src/arm/linux/init.c | ||
@@ -14,6 +14,10 @@ | ||
#include <cpuinfo/log.h> | ||
#include <linux/api.h> | ||
|
||
+#ifdef __TERMUX__ | ||
+#include <arm/android/properties.c> | ||
+#endif | ||
+ | ||
struct cpuinfo_arm_isa cpuinfo_isa = {0}; | ||
|
||
static struct cpuinfo_package package = {{0}}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.