Skip to content

Commit a6da7cf

Browse files
committed
chromium: Upgrade to 146.0.7680.153
Release Notes: https://chromereleases.googleblog.com/2026/03/stable-channel-update-for-desktop_18.html Build and patch changes: ------------------------ Removed patches: None Modified patches: * 0001-Drop-GN-compiler-settings-conflicting-with-OE.patch * 0009-Adjust-the-Rust-build-to-our-needs.patch * 0013-Reduce-minimum-browser-window-width-to-480px.patch New patches: * chromium146_backport-Remove-now-obsolete-invalid-patch-on-bytemuck-v1.patch This is needed to build the newly vendored bytemuck Rust module with released Rust versions. License changes: ---------------- Added licenses: * third_party/android_deps/autorolled/committed/libs/com_google_mlkit_common/LICENSE * third_party/android_deps/autorolled/committed/libs/com_google_mlkit_genai_common/LICENSE * third_party/android_deps/autorolled/committed/libs/com_google_mlkit_genai_prompt/LICENSE * third_party/android_deps/autorolled/committed/libs/com_squareup_wire_wire_runtime_jvm/LICENSE * third_party/android_deps/autorolled/committed/libs/org_jetbrains_kotlinx_kotlinx_coroutines_guava/LICENSE * third_party/androidx/committed/libs/androidx_tracing_tracing_wire_android/LICENSE * third_party/androidx/committed/libs/androidx_xr_arcore_arcore_openxr/LICENSE * third_party/androidx/committed/libs/androidx_xr_arcore_arcore_runtime/LICENSE * third_party/androidx/committed/libs/androidx_xr_scenecore_scenecore_runtime/LICENSE * third_party/androidx/committed/libs/androidx_xr_scenecore_scenecore_spatial_core/LICENSE * third_party/androidx/committed/libs/androidx_xr_scenecore_scenecore_spatial_rendering/LICENSE * third_party/rust/chromium_crates_io/vendor/adler2-v2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/android_system_properties-v0_1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/antlr4rust-v0_5/LICENSE.txt * third_party/rust/chromium_crates_io/vendor/anyhow-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/array-init-v2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/arrayvec-v0_7/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/autocfg-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/base64-v0_22/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/better_any-v0_2/LICENCE-Apache * third_party/rust/chromium_crates_io/vendor/bit-set-v0_8/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/bit-vec-v0_8/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/bitflags-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/bitflags-v2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/bytemuck-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/bytemuck_derive-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/byteorder-lite-v0_1/LICENSE-MIT * third_party/rust/chromium_crates_io/vendor/byteorder-v1/LICENSE-MIT * third_party/rust/chromium_crates_io/vendor/bytes-v1/LICENSE * third_party/rust/chromium_crates_io/vendor/calendrical_calculations-v0_2/LICENSE * third_party/rust/chromium_crates_io/vendor/cfg-if-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/chrono-v0_4/LICENSE.txt * third_party/rust/chromium_crates_io/vendor/codespan-reporting-v0_13/LICENSE * third_party/rust/chromium_crates_io/vendor/core-foundation-sys-v0_8/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/core_maths-v0_1/LICENSE * third_party/rust/chromium_crates_io/vendor/crc32fast-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/cxx-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/cxxbridge-flags-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/cxxbridge-macro-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/derivre-v0_3/LICENSE * third_party/rust/chromium_crates_io/vendor/diplomat-runtime-v0_14/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/diplomat-v0_14/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/diplomat_core-v0_14/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/displaydoc-v0_2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/either-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/encoding_rs-v0_8/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/equivalent-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/fdeflate-v0_3/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/fend-core-v1/LICENSE.md * third_party/rust/chromium_crates_io/vendor/fixed_decimal-v0_7/LICENSE * third_party/rust/chromium_crates_io/vendor/flate2-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/foldhash-v0_2/LICENSE * third_party/rust/chromium_crates_io/vendor/font-types-v0_11/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/hashbrown-v0_15/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/hashbrown-v0_16/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/heck-v0_5/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/hmac-sha256-v1/LICENSE * third_party/rust/chromium_crates_io/vendor/iana-time-zone-v0_1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/icu_calendar-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_calendar_data-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_casemap-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_casemap_data-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_collections-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_decimal-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_decimal_data-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_experimental-v0_4/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_experimental_data-v0_4/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_list-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_list_data-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_locale-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_locale_core-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_locale_data-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_normalizer-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_normalizer_data-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_pattern-v0_4/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_plurals-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_plurals_data-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_properties-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_properties_data-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/icu_provider-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/image-v0_25/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/indexmap-v2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/itoa-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/ixdtf-v0_6/LICENSE * third_party/rust/chromium_crates_io/vendor/jxl-v0_3/LICENSE * third_party/rust/chromium_crates_io/vendor/jxl_macros-v0_3/LICENSE * third_party/rust/chromium_crates_io/vendor/jxl_simd-v0_3/LICENSE * third_party/rust/chromium_crates_io/vendor/jxl_transforms-v0_3/LICENSE * third_party/rust/chromium_crates_io/vendor/lazy_static-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/libc-v0_2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/libm-v0_2/LICENSE.txt * third_party/rust/chromium_crates_io/vendor/litemap-v0_8/LICENSE * third_party/rust/chromium_crates_io/vendor/llguidance-v1/LICENSE * third_party/rust/chromium_crates_io/vendor/lock_api-v0_4/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/log-v0_4/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/memchr-v2/LICENSE-MIT * third_party/rust/chromium_crates_io/vendor/minijinja-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/miniz_oxide-v0_8/LICENSE-APACHE.md * third_party/rust/chromium_crates_io/vendor/moxcms-v0_7/LICENSE-APACHE.md * third_party/rust/chromium_crates_io/vendor/murmur3-v0_4/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/num-bigint-v0_4/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/num-derive-v0_4/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/num-integer-v0_1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/num-rational-v0_4/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/num-traits-v0_2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/once_cell-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/ordered-float-v5/LICENSE-MIT * third_party/rust/chromium_crates_io/vendor/parking_lot-v0_12/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/parking_lot_core-v0_9/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/png-v0_18/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/potential_utf-v0_1/LICENSE * third_party/rust/chromium_crates_io/vendor/proc-macro-error-attr2-v2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/proc-macro-error2-v2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/proc-macro2-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/pxfm-v0_1/LICENSE-APACHE.md * third_party/rust/chromium_crates_io/vendor/qr_code-v2/LICENSE-APACHE.txt; * third_party/rust/chromium_crates_io/vendor/quote-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/read-fonts-v0_37/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/regex-automata-v0_4/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/regex-syntax-v0_8/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/resb-v0_1/LICENSE * third_party/rust/chromium_crates_io/vendor/rustversion-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/ryu-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/scopeguard-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/serde-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/serde_core-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/serde_derive-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/serde_json-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/serde_json_lenient-v0_2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/simd-adler32-v0_3/LICENSE.md * third_party/rust/chromium_crates_io/vendor/skrifa-v0_40/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/smallvec-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/stable_deref_trait-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/static_assertions-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/strck-v1/LICENSE * third_party/rust/chromium_crates_io/vendor/strum-v0_27/LICENSE * third_party/rust/chromium_crates_io/vendor/strum_macros-v0_27/LICENSE * third_party/rust/chromium_crates_io/vendor/subtle-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-bundle-flac-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-bundle-mp3-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-codec-pcm-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-core-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-metadata-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-utils-xiph-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/symphonia-v0_5/LICENSE * third_party/rust/chromium_crates_io/vendor/syn-v2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/synstructure-v0_13/LICENSE * third_party/rust/chromium_crates_io/vendor/temporal_capi-v0_1/LICENSE-Apache * third_party/rust/chromium_crates_io/vendor/temporal_rs-v0_1/LICENSE-Apache * third_party/rust/chromium_crates_io/vendor/termcolor-v1/LICENSE-MIT * third_party/rust/chromium_crates_io/vendor/thiserror-impl-v2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/thiserror-v2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/timezone_provider-v0_1/LICENSE-Apache * third_party/rust/chromium_crates_io/vendor/tinystr-v0_8/LICENSE * third_party/rust/chromium_crates_io/vendor/toktrie-v1/LICENSE * third_party/rust/chromium_crates_io/vendor/typed-arena-v2/LICENSE * third_party/rust/chromium_crates_io/vendor/typed-path-v0_12/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/unicode-ident-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/unicode-ident-v1/LICENSE-UNICODE * third_party/rust/chromium_crates_io/vendor/unicode-width-v0_2/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/uuid-v1/LICENSE-APACHE * third_party/rust/chromium_crates_io/vendor/winapi-util-v0_1/LICENSE-MIT * third_party/rust/chromium_crates_io/vendor/windows-link-v0_2/license-apache-2.0 * third_party/rust/chromium_crates_io/vendor/windows-sys-v0_52/license-apache-2.0 * third_party/rust/chromium_crates_io/vendor/windows-targets-v0_52/license-apache-2.0 * third_party/rust/chromium_crates_io/vendor/windows_aarch64_msvc-v0_52/license-apache-2.0 * third_party/rust/chromium_crates_io/vendor/windows_i686_msvc-v0_52/license-apache-2.0 * third_party/rust/chromium_crates_io/vendor/windows_x86_64_msvc-v0_52/license-apache-2.0 * third_party/rust/chromium_crates_io/vendor/writeable-v0_6/LICENSE * third_party/rust/chromium_crates_io/vendor/xml-v1/LICENSE * third_party/rust/chromium_crates_io/vendor/yoke-derive-v0_8/LICENSE * third_party/rust/chromium_crates_io/vendor/yoke-v0_8/LICENSE * third_party/rust/chromium_crates_io/vendor/zerofrom-derive-v0_1/LICENSE * third_party/rust/chromium_crates_io/vendor/zerofrom-v0_1/LICENSE * third_party/rust/chromium_crates_io/vendor/zerotrie-v0_2/LICENSE * third_party/rust/chromium_crates_io/vendor/zerovec-derive-v0_11/LICENSE * third_party/rust/chromium_crates_io/vendor/zerovec-v0_11/LICENSE * third_party/rust/chromium_crates_io/vendor/zip-v7/LICENSE * third_party/rust/chromium_crates_io/vendor/zmij-v1/LICENSE-MIT * third_party/rust/chromium_crates_io/vendor/zoneinfo64-v0_2/LICENSE Removed licenses: * third_party/android_deps/libs/org_jetbrains_kotlinx_kotlinx_coroutines_guava/LICENSE * third_party/androidx/committed/libs/androidx_xr_runtime_runtime_openxr/LICENSE * third_party/libpng/LICENSE Updated licenses: * third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_base/LICENSE * third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_basement/LICENSE * third_party/android_deps/autorolled/committed/libs/com_google_android_gms_play_services_tasks/LICENSE * third_party/android_deps/autorolled/committed/libs/com_google_android_libraries_identity_googleid_googleid/LICENSE * third_party/screen-ai/THIRD_PARTY_LICENSES Test-built: ----------- * chromium-ozone-wayland * MACHINE=intel-corei7-64, qemuarm64, raspberrypi3 * chromium-x11 * MACHINE=intel-corei7-64, qemuarm64, raspberrypi3 Test dependencies: ------------------ * URI: git://git.openembedded.org/openembedded-core - branch: master - revision: 8061433fcd11eba91a29004dfafd175d449fb2fd * URI: git://git.openembedded.org/meta-openembedded - layers: meta-oe - branch: master - revision: b883bd25cdd27560fdebc5a4bf56f90e99964c4c * URI: git://git.yoctoproject.org/meta-intel - branch: master - revision: 413f4312cd1fe3684f5a19db1dd97d0550bbef54 * URI: https://github.com/agherzan/meta-raspberrypi - branch: master - revision: 9720dc611cf38ff2990bdf0f6afa106645ca1f93 Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
1 parent bfcbddc commit a6da7cf

8 files changed

Lines changed: 284 additions & 19 deletions

meta-chromium/recipes-browser/chromium/chromium-gn.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ SRC_URI += "\
3535
file://fix-SYS_SECCOMP-redefinition.patch \
3636
file://use-adler2.patch \
3737
file://chromium-145-zip_ffi_glue-use-edition2024.patch \
38+
file://chromium146_backport-Remove-now-obsolete-invalid-patch-on-bytemuck-v1.patch \
3839
"
3940

4041
# ARM/AArch64-specific patches.

meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_145.0.7632.159.bb renamed to meta-chromium/recipes-browser/chromium/chromium-ozone-wayland_146.0.7680.153.bb

File renamed without changes.

meta-chromium/recipes-browser/chromium/chromium-x11_145.0.7632.159.bb renamed to meta-chromium/recipes-browser/chromium/chromium-x11_146.0.7680.153.bb

File renamed without changes.

meta-chromium/recipes-browser/chromium/chromium.inc

Lines changed: 186 additions & 9 deletions
Large diffs are not rendered by default.

meta-chromium/recipes-browser/chromium/files/0001-Drop-GN-compiler-settings-conflicting-with-OE.patch

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,3 +109,16 @@ index 59942a3..cf5e62e 100644
109109
if (use_clang_modules) {
110110
cflags += [
111111
# This removes absolute paths from .pcm files.
112+
@@ -1849,12 +1804,6 @@
113+
"-fsanitize=array-bounds",
114+
"-fsanitize-trap=array-bounds",
115+
116+
- # Some code users feature detection to determine if UBSAN (or any
117+
- # sanitizer) is enabled, they then do expensive debug like operations. We
118+
- # want to suppress this behaviour since we want to keep performance costs
119+
- # as low as possible while having these checks.
120+
- "-fsanitize-ignore-for-ubsan-feature=array-bounds",
121+
-
122+
# Because we've enabled array-bounds sanitizing we also want to suppress
123+
# the related warning about "unsafe-buffer-usage-in-static-sized-array",
124+
# since we know that the array bounds sanitizing will catch any out-of-

meta-chromium/recipes-browser/chromium/files/0009-Adjust-the-Rust-build-to-our-needs.patch

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ diff --git a/build/config/rust.gni b/build/config/rust.gni
3030
index bd18d13..e260576 100644
3131
--- a/build/config/rust.gni
3232
+++ b/build/config/rust.gni
33-
@@ -102,6 +102,11 @@
34-
# * Fixing pre-existing violations of `clippy` lints (crbug.com/472355480)
35-
# * Deciding on a policy (e.g. which trybots can/should cover `clippy`)
36-
enable_rust_clippy = false
33+
@@ -121,6 +121,11 @@
34+
# `fail_hard=False` when invoking `build_crubit.py` from
35+
# `tools/rust/build_rust.py`).
36+
enable_cpp_api_from_rust = false
3737
+
3838
+ # Override the vendor part of the Rust target triple (with a leading dash)
3939
+ # used for building target code (not host code). Leave empty to use the
@@ -42,7 +42,7 @@ index bd18d13..e260576 100644
4242
}
4343

4444
declare_args() {
45-
@@ -193,12 +198,19 @@
45+
@@ -212,12 +217,19 @@
4646
# other toolchains.
4747
rust_abi_target = ""
4848
if (is_linux || is_chromeos) {
@@ -65,7 +65,7 @@ index bd18d13..e260576 100644
6565
} else if (current_cpu == "arm") {
6666
if (arm_float_abi == "hard") {
6767
float_suffix = "hf"
68-
@@ -206,31 +218,21 @@
68+
@@ -225,31 +237,21 @@
6969
float_suffix = ""
7070
}
7171
if (arm_arch == "armv7-a" || arm_arch == "armv7") {
@@ -124,7 +124,7 @@ diff --git a/build/rust/gni_impl/rustc_wrapper.py b/build/rust/gni_impl/rustc_wr
124124
index 8f2096d..de43d44 100755
125125
--- a/build/rust/gni_impl/rustc_wrapper.py
126126
+++ b/build/rust/gni_impl/rustc_wrapper.py
127-
@@ -250,6 +250,7 @@ def main():
127+
@@ -288,6 +288,7 @@ def main():
128128
rustc_args = remaining_args[:ldflags_separator]
129129
ldflags = remaining_args[ldflags_separator + 1:rustenv_separator]
130130
rustenv = remaining_args[rustenv_separator + 1:sources_separator]

meta-chromium/recipes-browser/chromium/files/0013-Reduce-minimum-browser-window-width-to-480px.patch

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ diff --git a/chrome/browser/ui/views/frame/layout/browser_view_layout.h b/chrome
2323
index 493d444..99621d9 100644
2424
--- a/chrome/browser/ui/views/frame/layout/browser_view_layout.h
2525
+++ b/chrome/browser/ui/views/frame/layout/browser_view_layout.h
26-
@@ -93,7 +93,7 @@
26+
@@ -95,7 +95,7 @@
2727
// very small window, even on large monitors (which is why a minimum height is
2828
// not specified). This value is used for the main browser window only, not
2929
// for popups.
3030
- static constexpr int kMainBrowserContentsMinimumWidth = 500;
3131
+ static constexpr int kMainBrowserContentsMinimumWidth = 480;
3232

33-
BrowserViewLayout(const BrowserViewLayout&) = delete;
34-
BrowserViewLayout& operator=(const BrowserViewLayout&) = delete;
33+
// The minimum width of the contents area itself. Applies even when side
34+
// panels are open and prevents zero or negative contents sizes.
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
Taken from http://www.slackware.com/~alien/slackbuilds/chromium/build/patches/chromium146_backport-Remove-now-obsolete-invalid-patch-on-bytemuck-v1.patch
2+
3+
Upstream-Status: Inappropriate [rust version specific]
4+
5+
diff --git a/third_party/rust/chromium_crates_io/patches/bytemuck-v1/0101-Ad-hoc-bytemuck-fix-for-https-crbug.com-480176523.patch b/third_party/rust/chromium_crates_io/patches/bytemuck-v1/0101-Ad-hoc-bytemuck-fix-for-https-crbug.com-480176523.patch
6+
deleted file mode 100644
7+
index d5df20dd..0000000
8+
--- a/third_party/rust/chromium_crates_io/patches/bytemuck-v1/0101-Ad-hoc-bytemuck-fix-for-https-crbug.com-480176523.patch
9+
+++ /dev/null
10+
@@ -1,40 +0,0 @@
11+
-From 98355e3039f4677b19d1358a207f5ae646b935bb Mon Sep 17 00:00:00 2001
12+
-From: Lukasz Anforowicz <lukasza@chromium.org>
13+
-Date: Fri, 30 Jan 2026 23:30:50 +0000
14+
-Subject: [PATCH] Ad-hoc `bytemuck` fix for https://crbug.com/480176523.
15+
-
16+
-TODO: Remove this patch from `chromium_crates_io/patches` after
17+
-rolling `bytemuck` past the actual fix from
18+
-https://github.com/Lokathor/bytemuck/pull/344
19+
----
20+
- .../rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs | 1 -
21+
- .../rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs | 1 -
22+
- 2 files changed, 2 deletions(-)
23+
-
24+
-diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
25+
-index 846f281d975c7..3aaee72a26e85 100644
26+
---- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
27+
-+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
28+
-@@ -151,7 +151,6 @@ impl_unsafe_marker_for_simd!(
29+
- unsafe impl<T, const N: usize> Pod for core::simd::Simd<T, N>
30+
- where
31+
- T: core::simd::SimdElement + Pod,
32+
-- core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
33+
- {
34+
- }
35+
-
36+
-diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
37+
-index d88ba0f6636d0..b0f3b8aca0b08 100644
38+
---- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
39+
-+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
40+
-@@ -230,7 +230,6 @@ impl_unsafe_marker_for_simd!(
41+
- unsafe impl<T, const N: usize> Zeroable for core::simd::Simd<T, N>
42+
- where
43+
- T: core::simd::SimdElement + Zeroable,
44+
-- core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
45+
- {
46+
- }
47+
-
48+
---
49+
-2.53.0.rc1.225.gd81095ad13-goog
50+
-
51+
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
52+
index b039792..330f722 100644
53+
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
54+
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
55+
@@ -152,6 +152,7 @@
56+
unsafe impl<T, const N: usize> Pod for core::simd::Simd<T, N>
57+
where
58+
T: core::simd::SimdElement + Pod,
59+
+ core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
60+
{
61+
}
62+
63+
diff --git a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
64+
index 397ddde..186c567 100644
65+
--- a/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
66+
+++ b/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
67+
@@ -231,6 +231,7 @@
68+
unsafe impl<T, const N: usize> Zeroable for core::simd::Simd<T, N>
69+
where
70+
T: core::simd::SimdElement + Zeroable,
71+
+ core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
72+
{
73+
}
74+

0 commit comments

Comments
 (0)