Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package chromium for openSUSE:Factory checked in at 2024-07-10 16:48:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/chromium (Old) and /work/SRC/openSUSE:Factory/.chromium.new.2080 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "chromium" Wed Jul 10 16:48:09 2024 rev:424 rq:1186376 version:126.0.6478.126 Changes: -------- --- /work/SRC/openSUSE:Factory/chromium/chromium.changes 2024-06-13 15:39:15.468685759 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new.2080/chromium.changes 2024-07-10 16:49:08.986812301 +0200 @@ -1,0 +2,56 @@ +Tue Jul 9 10:09:56 UTC 2024 - Callum Farmer <[email protected]> + +- Finalize 126 +- Removed patches: + * chromium-125-debian-bad-font-gc2.patch + * chromium-125-debian-bad-font-gc3.patch +- Added patches: + * chromium-126-RealTimeReportingBindings-missing-decl.patch + * chromium-126-no-format.patch + +------------------------------------------------------------------- +Mon Jul 1 14:09:50 UTC 2024 - Andreas Stieger <[email protected]> + +- Chromium 126.0.6478.126 (boo#1226504, boo#1226205, boo#1226933) + * CVE-2024-6290: Use after free in Dawn + * CVE-2024-6291: Use after free in Swiftshader + * CVE-2024-6292: Use after free in Dawn + * CVE-2024-6293: Use after free in Dawn + * CVE-2024-6100: Type Confusion in V8 + * CVE-2024-6101: Inappropriate implementation in WebAssembly + * CVE-2024-6102: Out of bounds memory access in Dawn + * CVE-2024-6103: Use after free in Dawn + * CVE-2024-5830: Type Confusion in V8 + * CVE-2024-5831: Use after free in Dawn + * CVE-2024-5832: Use after free in Dawn + * CVE-2024-5833: Type Confusion in V8 + * CVE-2024-5834: Inappropriate implementation in Dawn + * CVE-2024-5835: Heap buffer overflow in Tab Groups + * CVE-2024-5836: Inappropriate Implementation in DevTools + * CVE-2024-5837: Type Confusion in V8 + * CVE-2024-5838: Type Confusion in V8 + * CVE-2024-5839: Inappropriate Implementation in Memory Allocator + * CVE-2024-5840: Policy Bypass in CORS + * CVE-2024-5841: Use after free in V8 + * CVE-2024-5842: Use after free in Browser UI + * CVE-2024-5843: Inappropriate implementation in Downloads + * CVE-2024-5844: Heap buffer overflow in Tab Strip + * CVE-2024-5845: Use after free in Audio + * CVE-2024-5846: Use after free in PDFium + * CVE-2024-5847: Use after free in PDFium +- drop patches: + * chromium-disable-parallel-gold.patch + * chromium-125-appservice-include.patch + * chromium-125-lens-include.patch + * chromium-125-mojo-bindings-include.patch + * chromium-125-no-vector-consts.patch + * chromium-125-vulkan-include.patch + * chromium-125-ninja.patch + * chromium-125-no_matching_constructor.patch + * chromium-125-missing-header-files.patch +- add patches: + * chromium-126-missing-header-files.patch + * chromium-126-quiche-interator.patch + * chromium-126-no_matching_constructor.patch + +------------------------------------------------------------------- Old: ---- chromium-125-appservice-include.patch chromium-125-debian-bad-font-gc2.patch chromium-125-debian-bad-font-gc3.patch chromium-125-lens-include.patch chromium-125-missing-header-files.patch chromium-125-mojo-bindings-include.patch chromium-125-ninja.patch chromium-125-no-vector-consts.patch chromium-125-no_matching_constructor.patch chromium-125-vulkan-include.patch chromium-125.0.6422.141.tar.xz chromium-disable-parallel-gold.patch New: ---- chromium-126-RealTimeReportingBindings-missing-decl.patch chromium-126-missing-header-files.patch chromium-126-no-format.patch chromium-126-no_matching_constructor.patch chromium-126-quiche-interator.patch chromium-126.0.6478.126.tar.xz BETA DEBUG BEGIN: Old: * chromium-disable-parallel-gold.patch * chromium-125-appservice-include.patch * chromium-125-lens-include.patch Old:- Removed patches: * chromium-125-debian-bad-font-gc2.patch * chromium-125-debian-bad-font-gc3.patch Old: * chromium-125-debian-bad-font-gc2.patch * chromium-125-debian-bad-font-gc3.patch - Added patches: Old: * chromium-125-appservice-include.patch * chromium-125-lens-include.patch * chromium-125-mojo-bindings-include.patch Old: * chromium-125-no_matching_constructor.patch * chromium-125-missing-header-files.patch - add patches: Old: * chromium-125-lens-include.patch * chromium-125-mojo-bindings-include.patch * chromium-125-no-vector-consts.patch Old: * chromium-125-vulkan-include.patch * chromium-125-ninja.patch * chromium-125-no_matching_constructor.patch Old: * chromium-125-mojo-bindings-include.patch * chromium-125-no-vector-consts.patch * chromium-125-vulkan-include.patch Old: * chromium-125-ninja.patch * chromium-125-no_matching_constructor.patch * chromium-125-missing-header-files.patch Old: * chromium-125-no-vector-consts.patch * chromium-125-vulkan-include.patch * chromium-125-ninja.patch Old:- drop patches: * chromium-disable-parallel-gold.patch * chromium-125-appservice-include.patch BETA DEBUG END: BETA DEBUG BEGIN: New:- Added patches: * chromium-126-RealTimeReportingBindings-missing-decl.patch * chromium-126-no-format.patch New:- add patches: * chromium-126-missing-header-files.patch * chromium-126-quiche-interator.patch New: * chromium-126-RealTimeReportingBindings-missing-decl.patch * chromium-126-no-format.patch New: * chromium-126-quiche-interator.patch * chromium-126-no_matching_constructor.patch New: * chromium-126-missing-header-files.patch * chromium-126-quiche-interator.patch * chromium-126-no_matching_constructor.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ chromium.spec ++++++ --- /var/tmp/diff_new_pack.cuKvXg/_old 2024-07-10 16:49:23.991363242 +0200 +++ /var/tmp/diff_new_pack.cuKvXg/_new 2024-07-10 16:49:23.991363242 +0200 @@ -91,7 +91,7 @@ %define n_suffix %{nil} %endif Name: chromium%{n_suffix} -Version: 125.0.6422.141 +Version: 126.0.6478.126 Release: 0 Summary: Google's open source browser project License: BSD-3-Clause AND LGPL-2.1-or-later @@ -121,7 +121,6 @@ # Do not use unrar code, it is non-free Patch7: chromium-norar.patch Patch9: system-libdrm.patch -Patch10: chromium-disable-parallel-gold.patch # gentoo/fedora/arch patchset Patch15: chromium-125-compiler.patch Patch40: chromium-91-java-only-allowed-in-android-builds.patch @@ -142,28 +141,23 @@ Patch258: chromium-121-nullptr_t-without-namespace-std.patch Patch261: chromium-121-rust-clang_lib.patch Patch311: chromium-125-disable-FFmpegAllowLists.patch -Patch316: chromium-125-missing-header-files.patch -Patch317: chromium-125-no_matching_constructor.patch Patch322: chromium-125-lp155-typename.patch Patch324: chromium-122-workaround_clang_bug-structured_binding.patch Patch326: chromium-123-stats-collector.patch Patch336: chromium-124-system-libxml.patch Patch337: chromium-123-missing-QtGui.patch -Patch340: chromium-125-appservice-include.patch -Patch341: chromium-125-lens-include.patch -Patch342: chromium-125-mojo-bindings-include.patch -Patch343: chromium-125-no-vector-consts.patch -Patch345: chromium-125-vulkan-include.patch Patch346: chromium-125-tabstrip-include.patch -Patch347: chromium-125-ninja.patch Patch350: chromium-125-debian-bad-font-gc0000.patch Patch351: chromium-125-debian-bad-font-gc000.patch Patch352: chromium-125-debian-bad-font-gc00.patch Patch353: chromium-125-debian-bad-font-gc0.patch Patch354: chromium-125-debian-bad-font-gc11.patch Patch355: chromium-125-debian-bad-font-gc1.patch -Patch356: chromium-125-debian-bad-font-gc2.patch -Patch357: chromium-125-debian-bad-font-gc3.patch +Patch358: chromium-126-missing-header-files.patch +Patch359: chromium-126-quiche-interator.patch +Patch360: chromium-126-RealTimeReportingBindings-missing-decl.patch +Patch361: chromium-126-no_matching_constructor.patch +Patch362: chromium-126-no-format.patch BuildRequires: SDL-devel BuildRequires: bison BuildRequires: cups-devel @@ -347,13 +341,13 @@ %endif %if %{with qt} BuildRequires: pkgconfig(Qt5Core) -BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt5Gui) %endif %if %{with qt6} BuildRequires: pkgconfig(Qt6Core) -BuildRequires: pkgconfig(Qt6Gui) BuildRequires: pkgconfig(Qt6Widgets) +BuildRequires: pkgconfig(Qt6Gui) %endif %if %{with system_re2} BuildRequires: pkgconfig(re2) >= 11 @@ -467,7 +461,6 @@ keeplibs=( base/third_party/cityhash base/third_party/double_conversion - base/third_party/dynamic_annotations base/third_party/icu base/third_party/nspr base/third_party/superfasthash @@ -642,6 +635,8 @@ third_party/s2cellid third_party/securemessage third_party/selenium-atoms + third_party/sentencepiece + third_party/sentencepiece/src/third_party/darts_clone third_party/shell-encryption third_party/simplejson third_party/skia ++++++ chrome-wrapper ++++++ --- /var/tmp/diff_new_pack.cuKvXg/_old 2024-07-10 16:49:24.067366033 +0200 +++ /var/tmp/diff_new_pack.cuKvXg/_new 2024-07-10 16:49:24.071366180 +0200 @@ -13,7 +13,7 @@ # This also makes RPMs find the compatibly-named library symlinks. export LD_LIBRARY_PATH="$HERE${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}" -export CHROME_VERSION_EXTRA="stable" +export CHROME_VERSION_EXTRA="@@CHANNEL@@" # We don't want bug-buddy intercepting our crashes. http://crbug.com/24120 export GNOME_DISABLE_CRASH_DIALOG=SET_BY_GOOGLE_CHROME ++++++ chromium-120-emplace.patch ++++++ --- /var/tmp/diff_new_pack.cuKvXg/_old 2024-07-10 16:49:24.107367502 +0200 +++ /var/tmp/diff_new_pack.cuKvXg/_new 2024-07-10 16:49:24.127368236 +0200 @@ -1,7 +1,7 @@ -Index: chromium-123.0.6312.46/third_party/webrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc +Index: chromium-126.0.6478.8/third_party/webrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc =================================================================== ---- chromium-123.0.6312.46.orig/third_party/webrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc -+++ chromium-123.0.6312.46/third_party/webrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc +--- chromium-126.0.6478.8.orig/third_party/webrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc ++++ chromium-126.0.6478.8/third_party/webrtc/modules/congestion_controller/goog_cc/loss_based_bwe_v2.cc @@ -549,7 +549,7 @@ absl::optional<LossBasedBweV2::Config> L if (!enabled.Get()) { return config; @@ -11,10 +11,10 @@ config->bandwidth_rampup_upper_bound_factor = bandwidth_rampup_upper_bound_factor.Get(); config->bandwidth_rampup_upper_bound_factor_in_hold = -Index: chromium-123.0.6312.46/ui/gfx/x/generated_protos/randr.cc +Index: chromium-126.0.6478.8/ui/gfx/x/generated_protos/randr.cc =================================================================== ---- chromium-123.0.6312.46.orig/ui/gfx/x/generated_protos/randr.cc -+++ chromium-123.0.6312.46/ui/gfx/x/generated_protos/randr.cc +--- chromium-126.0.6478.8.orig/ui/gfx/x/generated_protos/randr.cc ++++ chromium-126.0.6478.8/ui/gfx/x/generated_protos/randr.cc @@ -305,7 +305,7 @@ void ReadEvent<RandR::NotifyEvent>(RandR // data auto data_expr = subCode; @@ -78,11 +78,11 @@ auto& timestamp = (*data.lc).timestamp; auto& window = (*data.lc).window; auto& lease = (*data.lc).lease; -Index: chromium-123.0.6312.46/ui/gfx/x/generated_protos/xkb.cc +Index: chromium-126.0.6478.8/ui/gfx/x/generated_protos/xkb.cc =================================================================== ---- chromium-123.0.6312.46.orig/ui/gfx/x/generated_protos/xkb.cc -+++ chromium-123.0.6312.46/ui/gfx/x/generated_protos/xkb.cc -@@ -5276,7 +5276,7 @@ std::unique_ptr<Xkb::GetKbdByNameReply> +--- chromium-126.0.6478.8.orig/ui/gfx/x/generated_protos/xkb.cc ++++ chromium-126.0.6478.8/ui/gfx/x/generated_protos/xkb.cc +@@ -5207,7 +5207,7 @@ std::unique_ptr<Xkb::GetKbdByNameReply> if (CaseAnd(replies_expr, Xkb::GBNDetail::Types) || CaseAnd(replies_expr, Xkb::GBNDetail::ClientSymbols) || CaseAnd(replies_expr, Xkb::GBNDetail::ServerSymbols)) { @@ -91,7 +91,7 @@ auto& getmap_type = (*replies.types).getmap_type; auto& typeDeviceID = (*replies.types).typeDeviceID; auto& getmap_sequence = (*replies.types).getmap_sequence; -@@ -5708,7 +5708,7 @@ std::unique_ptr<Xkb::GetKbdByNameReply> +@@ -5626,7 +5626,7 @@ std::unique_ptr<Xkb::GetKbdByNameReply> } } if (CaseAnd(replies_expr, Xkb::GBNDetail::CompatMap)) { @@ -100,7 +100,7 @@ auto& compatmap_type = (*replies.compat_map).compatmap_type; auto& compatDeviceID = (*replies.compat_map).compatDeviceID; auto& compatmap_sequence = (*replies.compat_map).compatmap_sequence; -@@ -5832,7 +5832,7 @@ std::unique_ptr<Xkb::GetKbdByNameReply> +@@ -5747,7 +5747,7 @@ std::unique_ptr<Xkb::GetKbdByNameReply> } } if (CaseAnd(replies_expr, Xkb::GBNDetail::IndicatorMaps)) { @@ -109,7 +109,7 @@ auto& indicatormap_type = (*replies.indicator_maps).indicatormap_type; auto& indicatorDeviceID = (*replies.indicator_maps).indicatorDeviceID; auto& indicatormap_sequence = -@@ -5926,7 +5926,7 @@ std::unique_ptr<Xkb::GetKbdByNameReply> +@@ -5840,7 +5840,7 @@ std::unique_ptr<Xkb::GetKbdByNameReply> } if (CaseAnd(replies_expr, Xkb::GBNDetail::KeyNames) || CaseAnd(replies_expr, Xkb::GBNDetail::OtherNames)) { @@ -118,7 +118,7 @@ auto& keyname_type = (*replies.key_names).keyname_type; auto& keyDeviceID = (*replies.key_names).keyDeviceID; auto& keyname_sequence = (*replies.key_names).keyname_sequence; -@@ -6185,7 +6185,7 @@ std::unique_ptr<Xkb::GetKbdByNameReply> +@@ -6087,7 +6087,7 @@ std::unique_ptr<Xkb::GetKbdByNameReply> } } if (CaseAnd(replies_expr, Xkb::GBNDetail::Geometry)) { @@ -127,11 +127,11 @@ auto& geometry_type = (*replies.geometry).geometry_type; auto& geometryDeviceID = (*replies.geometry).geometryDeviceID; auto& geometry_sequence = (*replies.geometry).geometry_sequence; -Index: chromium-123.0.6312.46/mojo/public/cpp/bindings/lib/multiplex_router.cc +Index: chromium-126.0.6478.8/mojo/public/cpp/bindings/lib/multiplex_router.cc =================================================================== ---- chromium-123.0.6312.46.orig/mojo/public/cpp/bindings/lib/multiplex_router.cc -+++ chromium-123.0.6312.46/mojo/public/cpp/bindings/lib/multiplex_router.cc -@@ -870,7 +870,7 @@ bool MultiplexRouter::ExclusiveSyncWaitF +--- chromium-126.0.6478.8.orig/mojo/public/cpp/bindings/lib/multiplex_router.cc ++++ chromium-126.0.6478.8/mojo/public/cpp/bindings/lib/multiplex_router.cc +@@ -893,7 +893,7 @@ bool MultiplexRouter::ExclusiveSyncWaitF DCHECK(!exclusive_sync_wait_); scoped_refptr<MultiplexRouter> keep_alive(this); @@ -140,11 +140,11 @@ exclusive_sync_wait_->interface_id = interface_id; exclusive_sync_wait_->request_id = request_id; while (!exclusive_sync_wait_->finished) { -Index: chromium-123.0.6312.46/ui/gfx/x/generated_protos/xinput.cc +Index: chromium-126.0.6478.8/ui/gfx/x/generated_protos/xinput.cc =================================================================== ---- chromium-123.0.6312.46.orig/ui/gfx/x/generated_protos/xinput.cc -+++ chromium-123.0.6312.46/ui/gfx/x/generated_protos/xinput.cc -@@ -567,7 +567,7 @@ void ReadEvent<Input::DeviceChangedEvent +--- chromium-126.0.6478.8.orig/ui/gfx/x/generated_protos/xinput.cc ++++ chromium-126.0.6478.8/ui/gfx/x/generated_protos/xinput.cc +@@ -560,7 +560,7 @@ void ReadEvent<Input::DeviceChangedEvent // data auto data_expr = type; if (CaseEq(data_expr, Input::DeviceClassType::Key)) { @@ -152,8 +152,8 @@ + data.key.emplace(Input::DeviceClass::Key()); uint16_t num_keys{}; auto& keys = (*data.key).keys; - size_t keys_len = keys.size(); -@@ -583,7 +583,7 @@ void ReadEvent<Input::DeviceChangedEvent + +@@ -575,7 +575,7 @@ void ReadEvent<Input::DeviceChangedEvent } } if (CaseEq(data_expr, Input::DeviceClassType::Button)) { @@ -161,8 +161,8 @@ + data.button.emplace(Input::DeviceClass::Button()); uint16_t num_buttons{}; auto& state = (*data.button).state; - size_t state_len = state.size(); -@@ -608,7 +608,7 @@ void ReadEvent<Input::DeviceChangedEvent + auto& labels = (*data.button).labels; +@@ -598,7 +598,7 @@ void ReadEvent<Input::DeviceChangedEvent } } if (CaseEq(data_expr, Input::DeviceClassType::Valuator)) { @@ -171,7 +171,7 @@ auto& number = (*data.valuator).number; auto& label = (*data.valuator).label; auto& min = (*data.valuator).min; -@@ -671,7 +671,7 @@ void ReadEvent<Input::DeviceChangedEvent +@@ -661,7 +661,7 @@ void ReadEvent<Input::DeviceChangedEvent Pad(&buf, 3); } if (CaseEq(data_expr, Input::DeviceClassType::Scroll)) { @@ -180,7 +180,7 @@ auto& number = (*data.scroll).number; auto& scroll_type = (*data.scroll).scroll_type; auto& flags = (*data.scroll).flags; -@@ -706,7 +706,7 @@ void ReadEvent<Input::DeviceChangedEvent +@@ -696,7 +696,7 @@ void ReadEvent<Input::DeviceChangedEvent } } if (CaseEq(data_expr, Input::DeviceClassType::Touch)) { @@ -189,7 +189,7 @@ auto& mode = (*data.touch).mode; auto& num_touches = (*data.touch).num_touches; -@@ -719,7 +719,7 @@ void ReadEvent<Input::DeviceChangedEvent +@@ -709,7 +709,7 @@ void ReadEvent<Input::DeviceChangedEvent Read(&num_touches, &buf); } if (CaseEq(data_expr, Input::DeviceClassType::Gesture)) { @@ -198,7 +198,7 @@ auto& num_touches = (*data.gesture).num_touches; // num_touches -@@ -2206,7 +2206,7 @@ std::unique_ptr<Input::ListInputDevicesR +@@ -2187,7 +2187,7 @@ std::unique_ptr<Input::ListInputDevicesR // info auto info_expr = class_id; if (CaseEq(info_expr, Input::InputClass::Key)) { @@ -207,7 +207,7 @@ auto& min_keycode = (*info.key).min_keycode; auto& max_keycode = (*info.key).max_keycode; auto& num_keys = (*info.key).num_keys; -@@ -2224,14 +2224,14 @@ std::unique_ptr<Input::ListInputDevicesR +@@ -2205,14 +2205,14 @@ std::unique_ptr<Input::ListInputDevicesR Pad(&buf, 2); } if (CaseEq(info_expr, Input::InputClass::Button)) { @@ -224,7 +224,7 @@ uint8_t axes_len{}; auto& mode = (*info.valuator).mode; auto& motion_size = (*info.valuator).motion_size; -@@ -3844,7 +3844,7 @@ std::unique_ptr<Input::GetFeedbackContro +@@ -3818,7 +3818,7 @@ std::unique_ptr<Input::GetFeedbackContro // data auto data_expr = class_id; if (CaseEq(data_expr, Input::FeedbackClass::Keyboard)) { @@ -233,7 +233,7 @@ auto& pitch = (*data.keyboard).pitch; auto& duration = (*data.keyboard).duration; auto& led_mask = (*data.keyboard).led_mask; -@@ -3886,7 +3886,7 @@ std::unique_ptr<Input::GetFeedbackContro +@@ -3859,7 +3859,7 @@ std::unique_ptr<Input::GetFeedbackContro } } if (CaseEq(data_expr, Input::FeedbackClass::Pointer)) { @@ -242,7 +242,7 @@ auto& accel_num = (*data.pointer).accel_num; auto& accel_denom = (*data.pointer).accel_denom; auto& threshold = (*data.pointer).threshold; -@@ -3904,7 +3904,7 @@ std::unique_ptr<Input::GetFeedbackContro +@@ -3877,7 +3877,7 @@ std::unique_ptr<Input::GetFeedbackContro Read(&threshold, &buf); } if (CaseEq(data_expr, Input::FeedbackClass::String)) { @@ -251,7 +251,7 @@ auto& max_symbols = (*data.string).max_symbols; uint16_t num_keysyms{}; auto& keysyms = (*data.string).keysyms; -@@ -3924,7 +3924,7 @@ std::unique_ptr<Input::GetFeedbackContro +@@ -3896,7 +3896,7 @@ std::unique_ptr<Input::GetFeedbackContro } } if (CaseEq(data_expr, Input::FeedbackClass::Integer)) { @@ -260,7 +260,7 @@ auto& resolution = (*data.integer).resolution; auto& min_value = (*data.integer).min_value; auto& max_value = (*data.integer).max_value; -@@ -3939,7 +3939,7 @@ std::unique_ptr<Input::GetFeedbackContro +@@ -3911,7 +3911,7 @@ std::unique_ptr<Input::GetFeedbackContro Read(&max_value, &buf); } if (CaseEq(data_expr, Input::FeedbackClass::Led)) { @@ -269,7 +269,7 @@ auto& led_mask = (*data.led).led_mask; auto& led_values = (*data.led).led_values; -@@ -3950,7 +3950,7 @@ std::unique_ptr<Input::GetFeedbackContro +@@ -3922,7 +3922,7 @@ std::unique_ptr<Input::GetFeedbackContro Read(&led_values, &buf); } if (CaseEq(data_expr, Input::FeedbackClass::Bell)) { @@ -278,7 +278,7 @@ auto& percent = (*data.bell).percent; auto& pitch = (*data.bell).pitch; auto& duration = (*data.bell).duration; -@@ -4768,7 +4768,7 @@ std::unique_ptr<Input::QueryDeviceStateR +@@ -4735,7 +4735,7 @@ std::unique_ptr<Input::QueryDeviceStateR // data auto data_expr = class_id; if (CaseEq(data_expr, Input::InputClass::Key)) { @@ -286,8 +286,8 @@ + data.key.emplace(Input::InputState::Key()); auto& num_keys = (*data.key).num_keys; auto& keys = (*data.key).keys; - size_t keys_len = keys.size(); -@@ -4786,7 +4786,7 @@ std::unique_ptr<Input::QueryDeviceStateR + +@@ -4752,7 +4752,7 @@ std::unique_ptr<Input::QueryDeviceStateR } } if (CaseEq(data_expr, Input::InputClass::Button)) { @@ -295,8 +295,8 @@ + data.button.emplace(Input::InputState::Button()); auto& num_buttons = (*data.button).num_buttons; auto& buttons = (*data.button).buttons; - size_t buttons_len = buttons.size(); -@@ -4804,7 +4804,7 @@ std::unique_ptr<Input::QueryDeviceStateR + +@@ -4769,7 +4769,7 @@ std::unique_ptr<Input::QueryDeviceStateR } } if (CaseEq(data_expr, Input::InputClass::Valuator)) { @@ -305,7 +305,7 @@ uint8_t num_valuators{}; auto& mode = (*data.valuator).mode; auto& valuators = (*data.valuator).valuators; -@@ -5075,7 +5075,7 @@ std::unique_ptr<Input::GetDeviceControlR +@@ -5039,7 +5039,7 @@ std::unique_ptr<Input::GetDeviceControlR // data auto data_expr = control_id; if (CaseEq(data_expr, Input::DeviceControl::resolution)) { @@ -313,8 +313,8 @@ + data.resolution.emplace(Input::DeviceState::Resolution()); uint32_t num_valuators{}; auto& resolution_values = (*data.resolution).resolution_values; - size_t resolution_values_len = resolution_values.size(); -@@ -5109,7 +5109,7 @@ std::unique_ptr<Input::GetDeviceControlR + auto& resolution_min = (*data.resolution).resolution_min; +@@ -5070,7 +5070,7 @@ std::unique_ptr<Input::GetDeviceControlR } } if (CaseEq(data_expr, Input::DeviceControl::abs_calib)) { @@ -323,7 +323,7 @@ auto& min_x = (*data.abs_calib).min_x; auto& max_x = (*data.abs_calib).max_x; auto& min_y = (*data.abs_calib).min_y; -@@ -5144,7 +5144,7 @@ std::unique_ptr<Input::GetDeviceControlR +@@ -5105,7 +5105,7 @@ std::unique_ptr<Input::GetDeviceControlR Read(&button_threshold, &buf); } if (CaseEq(data_expr, Input::DeviceControl::core)) { @@ -332,7 +332,7 @@ auto& status = (*data.core).status; auto& iscore = (*data.core).iscore; -@@ -5158,7 +5158,7 @@ std::unique_ptr<Input::GetDeviceControlR +@@ -5119,7 +5119,7 @@ std::unique_ptr<Input::GetDeviceControlR Pad(&buf, 2); } if (CaseEq(data_expr, Input::DeviceControl::enable)) { @@ -341,7 +341,7 @@ auto& enable = (*data.enable).enable; // enable -@@ -5168,7 +5168,7 @@ std::unique_ptr<Input::GetDeviceControlR +@@ -5129,7 +5129,7 @@ std::unique_ptr<Input::GetDeviceControlR Pad(&buf, 3); } if (CaseEq(data_expr, Input::DeviceControl::abs_area)) { @@ -350,7 +350,7 @@ auto& offset_x = (*data.abs_area).offset_x; auto& offset_y = (*data.abs_area).offset_y; auto& width = (*data.abs_area).width; -@@ -6659,7 +6659,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl +@@ -6610,7 +6610,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl // data auto data_expr = type; if (CaseEq(data_expr, Input::DeviceClassType::Key)) { @@ -358,8 +358,8 @@ + data.key.emplace(Input::DeviceClass::Key()); uint16_t num_keys{}; auto& keys = (*data.key).keys; - size_t keys_len = keys.size(); -@@ -6675,7 +6675,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl + +@@ -6625,7 +6625,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl } } if (CaseEq(data_expr, Input::DeviceClassType::Button)) { @@ -367,8 +367,8 @@ + data.button.emplace(Input::DeviceClass::Button()); uint16_t num_buttons{}; auto& state = (*data.button).state; - size_t state_len = state.size(); -@@ -6700,7 +6700,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl + auto& labels = (*data.button).labels; +@@ -6648,7 +6648,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl } } if (CaseEq(data_expr, Input::DeviceClassType::Valuator)) { @@ -377,7 +377,7 @@ auto& number = (*data.valuator).number; auto& label = (*data.valuator).label; auto& min = (*data.valuator).min; -@@ -6763,7 +6763,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl +@@ -6711,7 +6711,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl Pad(&buf, 3); } if (CaseEq(data_expr, Input::DeviceClassType::Scroll)) { @@ -386,7 +386,7 @@ auto& number = (*data.scroll).number; auto& scroll_type = (*data.scroll).scroll_type; auto& flags = (*data.scroll).flags; -@@ -6798,7 +6798,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl +@@ -6746,7 +6746,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl } } if (CaseEq(data_expr, Input::DeviceClassType::Touch)) { @@ -395,7 +395,7 @@ auto& mode = (*data.touch).mode; auto& num_touches = (*data.touch).num_touches; -@@ -6811,7 +6811,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl +@@ -6759,7 +6759,7 @@ std::unique_ptr<Input::XIQueryDeviceRepl Read(&num_touches, &buf); } if (CaseEq(data_expr, Input::DeviceClassType::Gesture)) { @@ -404,11 +404,11 @@ auto& num_touches = (*data.gesture).num_touches; // num_touches -Index: chromium-123.0.6312.46/components/viz/service/display/surface_aggregator.cc +Index: chromium-126.0.6478.8/components/viz/service/display/surface_aggregator.cc =================================================================== ---- chromium-123.0.6312.46.orig/components/viz/service/display/surface_aggregator.cc -+++ chromium-123.0.6312.46/components/viz/service/display/surface_aggregator.cc -@@ -2236,7 +2236,7 @@ AggregatedFrame SurfaceAggregator::Aggre +--- chromium-126.0.6478.8.orig/components/viz/service/display/surface_aggregator.cc ++++ chromium-126.0.6478.8/components/viz/service/display/surface_aggregator.cc +@@ -2296,7 +2296,7 @@ AggregatedFrame SurfaceAggregator::Aggre root_surface_id_ = surface_id; // Start recording new stats for this aggregation. @@ -417,11 +417,11 @@ base::ElapsedTimer prewalk_timer; ResolvedFrameData* resolved_frame = GetResolvedFrame(surface_id); -Index: chromium-123.0.6312.46/third_party/blink/renderer/modules/media_controls/elements/media_control_timeline_element.cc +Index: chromium-126.0.6478.8/third_party/blink/renderer/modules/media_controls/elements/media_control_timeline_element.cc =================================================================== ---- chromium-123.0.6312.46.orig/third_party/blink/renderer/modules/media_controls/elements/media_control_timeline_element.cc -+++ chromium-123.0.6312.46/third_party/blink/renderer/modules/media_controls/elements/media_control_timeline_element.cc -@@ -101,7 +101,7 @@ void MediaControlTimelineElement::Update +--- chromium-126.0.6478.8.orig/third_party/blink/renderer/modules/media_controls/elements/media_control_timeline_element.cc ++++ chromium-126.0.6478.8/third_party/blink/renderer/modules/media_controls/elements/media_control_timeline_element.cc +@@ -102,7 +102,7 @@ void MediaControlTimelineElement::Update void MediaControlTimelineElement::SetPosition(double current_time, bool suppress_aria) { if (is_live_ && !live_anchor_time_ && current_time != 0) { @@ -430,10 +430,10 @@ live_anchor_time_->clock_time_ = base::TimeTicks::Now(); live_anchor_time_->media_time_ = MediaElement().currentTime(); } -Index: chromium-123.0.6312.46/third_party/blink/renderer/platform/graphics/paint/geometry_mapper_transform_cache.cc +Index: chromium-126.0.6478.8/third_party/blink/renderer/platform/graphics/paint/geometry_mapper_transform_cache.cc =================================================================== ---- chromium-123.0.6312.46.orig/third_party/blink/renderer/platform/graphics/paint/geometry_mapper_transform_cache.cc -+++ chromium-123.0.6312.46/third_party/blink/renderer/platform/graphics/paint/geometry_mapper_transform_cache.cc +--- chromium-126.0.6478.8.orig/third_party/blink/renderer/platform/graphics/paint/geometry_mapper_transform_cache.cc ++++ chromium-126.0.6478.8/third_party/blink/renderer/platform/graphics/paint/geometry_mapper_transform_cache.cc @@ -70,7 +70,7 @@ void GeometryMapperTransformCache::Updat to_2d_translation_root_ += translation; ++++++ chromium-125-compiler.patch ++++++ --- /var/tmp/diff_new_pack.cuKvXg/_old 2024-07-10 16:49:24.167369705 +0200 +++ /var/tmp/diff_new_pack.cuKvXg/_new 2024-07-10 16:49:24.179370146 +0200 @@ -7,11 +7,11 @@ build/config/compiler/BUILD.gn | 134 +++++---------------------------- 1 file changed, 17 insertions(+), 117 deletions(-) -Index: chromium-120.0.6099.35/build/config/compiler/BUILD.gn +Index: chromium-126.0.6478.8/build/config/compiler/BUILD.gn =================================================================== ---- chromium-120.0.6099.35.orig/build/config/compiler/BUILD.gn -+++ chromium-120.0.6099.35/build/config/compiler/BUILD.gn -@@ -320,9 +320,7 @@ config("compiler") { +--- chromium-126.0.6478.8.orig/build/config/compiler/BUILD.gn ++++ chromium-126.0.6478.8/build/config/compiler/BUILD.gn +@@ -305,9 +305,7 @@ config("compiler") { configs += [ # See the definitions below. @@ -21,7 +21,7 @@ ":compiler_codegen", ":compiler_deterministic", ] -@@ -591,55 +589,6 @@ config("compiler") { +@@ -545,55 +543,6 @@ config("compiler") { ldflags += [ "-Wl,-z,keep-text-section-prefix" ] } @@ -48,9 +48,9 @@ - } - } - -- # TODO(crbug.com/1488374): This causes binary size growth and potentially +- # TODO(crbug.com/40283598): This causes binary size growth and potentially - # other problems. -- # TODO(crbug.com/1491036): This isn't supported by Cronet's mainline llvm version. +- # TODO(crbug.com/40284925): This isn't supported by Cronet's mainline llvm version. - if (default_toolchain != "//build/toolchain/cros:target" && - !llvm_android_mainline) { - cflags += [ @@ -66,7 +66,7 @@ - } - } - -- # TODO(crbug.com/1235145): Investigate why/if this should be needed. +- # TODO(crbug.com/40192287): Investigate why/if this should be needed. - if (is_win) { - cflags += [ "/clang:-ffp-contract=off" ] - } else { @@ -77,7 +77,7 @@ # C11/C++11 compiler flags setup. # --------------------------- if (is_linux || is_chromeos || is_android || (is_nacl && is_clang) || -@@ -1488,46 +1488,6 @@ +@@ -1516,46 +1465,6 @@ config("compiler_deterministic") { } } @@ -124,7 +124,7 @@ # Tells the compiler not to use absolute paths when passing the default # paths to the tools it invokes. We don't want this because we don't # really need it and it can mess up the RBE cache entries. -@@ -1572,27 +1481,6 @@ config("compiler_deterministic") { +@@ -1574,27 +1483,6 @@ config("compiler_deterministic") { } } @@ -152,7 +152,7 @@ config("rustc_revision") { if (rustc_revision != "") { # Similar to the above config, this is here so that all files get recompiled -@@ -1959,10 +1847,6 @@ config("chromium_code") { +@@ -1983,10 +1871,6 @@ config("chromium_code") { } } else { cflags = [ "-Wall" ] @@ -163,7 +163,7 @@ # In Chromium code, we define __STDC_foo_MACROS in order to get the # C99 macros on Mac and Linux. -@@ -1971,24 +1855,6 @@ config("chromium_code") { +@@ -1995,24 +1879,6 @@ config("chromium_code") { "__STDC_FORMAT_MACROS", ] @@ -188,7 +188,7 @@ if (is_apple) { cflags_objc = [ "-Wimplicit-retain-self" ] cflags_objcc = [ "-Wimplicit-retain-self" ] -@@ -2335,7 +2295,8 @@ +@@ -2409,7 +2275,8 @@ config("default_stack_frames") { # [0]: https://pinpoint-dot-chromeperf.appspot.com/job/147634a8be0000 # [1]: https://pinpoint-dot-chromeperf.appspot.com/job/132bc772be0000 # [2]: https://crrev.com/c/5447532 @@ -198,7 +198,7 @@ if (is_win) { cflags = [ "/O2" ] + common_optimize_on_cflags -@@ -2430,7 +2297,8 @@ config("optimize") { +@@ -2450,7 +2317,8 @@ config("optimize") { } # Turn off optimizations. @@ -208,7 +208,7 @@ if (is_win) { cflags = [ "/Od", # Disable optimization. -@@ -2417,7 +2377,8 @@ +@@ -2490,7 +2358,8 @@ config("no_optimize") { # Turns up the optimization level. Used to explicitly enable -O2 instead of # -Os for select targets on platforms that use optimize_for_size. No-op # elsewhere. @@ -218,9 +218,9 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2503,7 +2372,8 @@ config("optimize_max") { +@@ -2523,7 +2392,8 @@ config("optimize_max") { # - # TODO(crbug.com/621335) - rework how all of these configs are related + # TODO(crbug.com/41259697) - rework how all of these configs are related # so that we don't need this disclaimer. -config("optimize_speed") { +config("optimize_speed") { } @@ -228,7 +228,7 @@ if (is_nacl && is_nacl_irt) { # The NaCl IRT is a special case and always wants its own config. # Various components do: -@@ -2529,7 +2399,8 @@ config("optimize_speed") { +@@ -2552,7 +2422,8 @@ config("optimize_speed") { } } @@ -238,7 +238,7 @@ cflags = [ "-O1" ] + common_optimize_on_cflags rustflags = [ "-Copt-level=1" ] ldflags = common_optimize_on_ldflags -@@ -2662,7 +2533,8 @@ config("win_pdbaltpath") { +@@ -2685,7 +2556,8 @@ config("win_pdbaltpath") { } # Full symbols. @@ -248,7 +248,7 @@ rustflags = [] if (is_win) { if (is_clang) { -@@ -2811,7 +2683,8 @@ config("symbols") { +@@ -2835,7 +2707,8 @@ config("symbols") { # Minimal symbols. # This config guarantees to hold symbol for stack trace which are shown to user # when crash happens in unittests running on buildbot. @@ -258,7 +258,7 @@ rustflags = [] if (is_win) { # Functions, files, and line tables only. -@@ -2896,7 +2769,8 @@ config("minimal_symbols") { +@@ -2920,7 +2793,8 @@ config("minimal_symbols") { # This configuration contains function names only. That is, the compiler is # told to not generate debug information and the linker then just puts function # names in the final debug information. ++++++ chromium-125-debian-bad-font-gc11.patch ++++++ --- /var/tmp/diff_new_pack.cuKvXg/_old 2024-07-10 16:49:24.207371174 +0200 +++ /var/tmp/diff_new_pack.cuKvXg/_new 2024-07-10 16:49:24.223371761 +0200 @@ -21,8 +21,10 @@ Commit-Queue: Ian Kilpatrick <[email protected]> Cr-Commit-Position: refs/heads/main@{#1262752} ---- a/third_party/blink/renderer/platform/fonts/font_global_context.cc -+++ b/third_party/blink/renderer/platform/fonts/font_global_context.cc +Index: chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/font_global_context.cc +=================================================================== +--- chromium-126.0.6478.8.orig/third_party/blink/renderer/platform/fonts/font_global_context.cc ++++ chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/font_global_context.cc @@ -8,6 +8,7 @@ #include "third_party/blink/renderer/platform/fonts/font_cache.h" #include "third_party/blink/renderer/platform/fonts/font_unique_name_lookup.h" @@ -47,8 +49,10 @@ IdentifiableToken FontGlobalContext::GetOrComputeTypefaceDigest( const FontPlatformData& source) { SkTypeface* typeface = source.Typeface(); ---- a/third_party/blink/renderer/platform/fonts/font_global_context.h -+++ b/third_party/blink/renderer/platform/fonts/font_global_context.h +Index: chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/font_global_context.h +=================================================================== +--- chromium-126.0.6478.8.orig/third_party/blink/renderer/platform/fonts/font_global_context.h ++++ chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/font_global_context.h @@ -9,7 +9,6 @@ #include "base/types/pass_key.h" #include "third_party/blink/public/common/privacy_budget/identifiable_token.h" @@ -88,9 +92,11 @@ std::unique_ptr<FontUniqueNameLookup> font_unique_name_lookup_; base::HashingLRUCache<SkTypefaceID, IdentifiableToken> typeface_digest_cache_; base::HashingLRUCache<SkTypefaceID, IdentifiableToken> ---- a/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc -+++ b/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc -@@ -65,14 +65,20 @@ +Index: chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc +=================================================================== +--- chromium-126.0.6478.8.orig/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc ++++ chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.cc +@@ -67,14 +67,20 @@ namespace blink { HarfBuzzFace::HarfBuzzFace(const FontPlatformData* platform_data, uint64_t unique_id) @@ -115,8 +121,8 @@ - visitor->Trace(harfbuzz_font_data_); } - bool HarfBuzzFace::ignore_variation_selectors_ = false; -@@ -234,17 +240,14 @@ bool HarfBuzzFace::HasSpaceInLigaturesOr + bool& GetIgnoreVariationSelectors() { +@@ -287,17 +293,14 @@ bool HarfBuzzFace::HasSpaceInLigaturesOr hb::unique_ptr<hb_set_t> glyphs(hb_set_create()); @@ -136,7 +142,7 @@ DCHECK(face); harfbuzz_font_data_->space_in_gpos_ = hb_ot_layout_has_positioning(face) && -@@ -258,11 +261,10 @@ bool HarfBuzzFace::HasSpaceInLigaturesOr +@@ -311,11 +314,10 @@ bool HarfBuzzFace::HasSpaceInLigaturesOr if (features & kLigatures && harfbuzz_font_data_->space_in_gsub_ == HarfBuzzFontData::SpaceGlyphInOpenTypeTables::kUnknown) { @@ -150,7 +156,7 @@ DCHECK(face); harfbuzz_font_data_->space_in_gsub_ = hb_ot_layout_has_substitution(face) && -@@ -280,14 +282,14 @@ bool HarfBuzzFace::HasSpaceInLigaturesOr +@@ -333,14 +335,14 @@ bool HarfBuzzFace::HasSpaceInLigaturesOr } unsigned HarfBuzzFace::UnitsPerEmFromHeadTable() { @@ -168,7 +174,7 @@ return glyph; } -@@ -329,7 +331,7 @@ hb_codepoint_t HarfBuzzFace::HarfBuzzGet +@@ -349,7 +351,7 @@ hb_codepoint_t HarfBuzzFace::HarfBuzzGet UChar32 variation_selector) { DCHECK(RuntimeEnabledFeatures::FontVariationSequencesEnabled()); hb_codepoint_t glyph = 0; @@ -177,7 +183,7 @@ harfbuzz_font_data_, character, variation_selector, &glyph, nullptr); return glyph; -@@ -444,10 +446,9 @@ static hb::unique_ptr<hb_face_t> CreateF +@@ -511,10 +513,9 @@ static hb::unique_ptr<hb_face_t> CreateF return face; } @@ -191,7 +197,7 @@ hb::unique_ptr<hb_font_t> ot_font(hb_font_create(face)); hb_ot_font_set_funcs(ot_font.get()); -@@ -466,26 +467,25 @@ HarfBuzzFontData* CreateHarfBuzzFontData +@@ -533,26 +534,25 @@ HarfBuzzFontData* CreateHarfBuzzFontData // Creating a sub font means that non-available functions // are found from the parent. hb_font_t* const unscaled_font = hb_font_create_sub_font(ot_font.get()); @@ -227,7 +233,7 @@ } static_assert( -@@ -516,18 +516,17 @@ hb_font_t* HarfBuzzFace::GetScaledFont(s +@@ -583,18 +583,17 @@ hb_font_t* HarfBuzzFace::GetScaledFont(s vertical_layout); int scale = SkiaScalarToHarfBuzzPosition(platform_data_->size()); @@ -250,9 +256,11 @@ } hb_font_t* HarfBuzzFace::GetScaledFont() const { ---- a/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.h -+++ b/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.h -@@ -55,6 +55,7 @@ class HarfBuzzFace final : public Garbag +Index: chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.h +=================================================================== +--- chromium-126.0.6478.8.orig/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.h ++++ chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_face.h +@@ -58,6 +58,7 @@ class PLATFORM_EXPORT HarfBuzzFace final HarfBuzzFace(const FontPlatformData* platform_data, uint64_t); HarfBuzzFace(const HarfBuzzFace&) = delete; HarfBuzzFace& operator=(const HarfBuzzFace&) = delete; @@ -260,7 +268,7 @@ void Trace(Visitor*) const; -@@ -106,7 +106,11 @@ +@@ -100,7 +101,11 @@ class PLATFORM_EXPORT HarfBuzzFace final void PrepareHarfBuzzFontData(); Member<const FontPlatformData> platform_data_; @@ -270,11 +278,13 @@ + // these members were both found dangling. + hb_font_t* unscaled_font_; + HarfBuzzFontData* harfbuzz_font_data_; - static bool ignore_variation_selectors_; }; ---- a/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_cache.cc -+++ b/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_cache.cc + inline constexpr hb_codepoint_t kUnmatchedVSGlyphId = +Index: chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_cache.cc +=================================================================== +--- chromium-126.0.6478.8.orig/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_cache.cc ++++ chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_cache.cc @@ -8,8 +8,38 @@ namespace blink { @@ -316,8 +326,10 @@ } } // namespace blink ---- a/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_cache.h -+++ b/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_cache.h +Index: chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_cache.h +=================================================================== +--- chromium-126.0.6478.8.orig/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_cache.h ++++ chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_cache.h @@ -6,9 +6,12 @@ #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_SHAPING_HARFBUZZ_FONT_CACHE_H_ @@ -385,8 +397,10 @@ }; } // namespace blink ---- a/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_data.h -+++ b/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_data.h +Index: chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_data.h +=================================================================== +--- chromium-126.0.6478.8.orig/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_data.h ++++ chromium-126.0.6478.8/third_party/blink/renderer/platform/fonts/shaping/harfbuzz_font_data.h @@ -22,18 +22,15 @@ const unsigned kInvalidFallbackMetricsVa // The HarfBuzzFontData struct carries user-pointer data for // |hb_font_t| callback functions/operations. It contains metrics and OpenType ++++++ chromium-125-emplace-struct.patch ++++++ --- /var/tmp/diff_new_pack.cuKvXg/_old 2024-07-10 16:49:24.239372349 +0200 +++ /var/tmp/diff_new_pack.cuKvXg/_new 2024-07-10 16:49:24.243372496 +0200 @@ -1,8 +1,8 @@ -diff --git a/shared_image_backing.h b/shared_image_backing.h.new -index 97ebd0b..fc6179c 100644 ---- a/gpu/command_buffer/service/shared_image/shared_image_backing.h -+++ b/gpu/command_buffer/service/shared_image/shared_image_backing.h -@@ -338,7 +338,7 @@ class GPU_GLES2_EXPORT SharedImageBacking { +Index: chromium-126.0.6478.8/gpu/command_buffer/service/shared_image/shared_image_backing.h +=================================================================== +--- chromium-126.0.6478.8.orig/gpu/command_buffer/service/shared_image/shared_image_backing.h ++++ chromium-126.0.6478.8/gpu/command_buffer/service/shared_image/shared_image_backing.h +@@ -386,7 +386,7 @@ class GPU_GLES2_EXPORT SharedImageBackin private: class ScopedWriteUMA { public: @@ -11,7 +11,7 @@ ScopedWriteUMA(const ScopedWriteUMA&) = delete; ScopedWriteUMA& operator=(const ScopedWriteUMA&) = delete; -@@ -352,7 +352,7 @@ class GPU_GLES2_EXPORT SharedImageBacking { +@@ -400,7 +400,7 @@ class GPU_GLES2_EXPORT SharedImageBackin void SetConsumed() { content_consumed_ = true; } private: @@ -20,11 +20,11 @@ }; const Mailbox mailbox_; -diff --git a/history_item.h b/history_item.h.new -index 15fea48..ba59305 100644 ---- a/third_party/blink/renderer/core/loader/history_item.h -+++ b/third_party/blink/renderer/core/loader/history_item.h -@@ -77,13 +77,13 @@ class CORE_EXPORT HistoryItem final : public GarbageCollected<HistoryItem> { +Index: chromium-126.0.6478.8/third_party/blink/renderer/core/loader/history_item.h +=================================================================== +--- chromium-126.0.6478.8.orig/third_party/blink/renderer/core/loader/history_item.h ++++ chromium-126.0.6478.8/third_party/blink/renderer/core/loader/history_item.h +@@ -77,13 +77,13 @@ class CORE_EXPORT HistoryItem final : pu DISALLOW_NEW(); public: @@ -40,11 +40,11 @@ ScrollAnchorData scroll_anchor_data_; }; -diff --git a/third_party/blink/public/common/interest_group/auction_config.h b/third_party/blink/public/common/interest_group/auction_config.h.new -index 5eb6378..4187556 100644 ---- a/third_party/blink/public/common/interest_group/auction_config.h -+++ b/third_party/blink/public/common/interest_group/auction_config.h -@@ -243,9 +243,11 @@ struct BLINK_COMMON_EXPORT AuctionConfig { +Index: chromium-126.0.6478.8/third_party/blink/public/common/interest_group/auction_config.h +=================================================================== +--- chromium-126.0.6478.8.orig/third_party/blink/public/common/interest_group/auction_config.h ++++ chromium-126.0.6478.8/third_party/blink/public/common/interest_group/auction_config.h +@@ -247,9 +247,11 @@ struct BLINK_COMMON_EXPORT AuctionConfig // Povides whether debug mode is enabled and, if it is, any debug key. struct BLINK_COMMON_EXPORT AuctionReportBuyerDebugModeConfig { @@ -57,12 +57,12 @@ friend BLINK_COMMON_EXPORT bool operator==( const AuctionReportBuyerDebugModeConfig&, const AuctionReportBuyerDebugModeConfig&); -@@ -447,7 +449,7 @@ struct BLINK_COMMON_EXPORT AuctionConfig { +@@ -463,7 +465,7 @@ struct BLINK_COMMON_EXPORT AuctionConfig // Origin for the Coordinator to be used for Private Aggregation. std::optional<url::Origin> aggregation_coordinator_origin; -- static_assert(__LINE__ == 455, R"( -+ static_assert(__LINE__ == 457, R"( +- static_assert(__LINE__ == 466, R"( ++ static_assert(__LINE__ == 468, R"( If modifying AuctionConfig fields, please make sure to also modify: * third_party/blink/public/mojom/interest_group/interest_group_types.mojom ++++++ chromium-126-RealTimeReportingBindings-missing-decl.patch ++++++ >From fb3678b0d1084b49c5ca795200131a7c0ac01ffe Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz <[email protected]> Date: Wed, 15 May 2024 13:59:56 +0000 Subject: [PATCH] libstdc++: real time reporting bindings vector requires full declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libstdc++ implementation of std::vector requires the full declaration of the type and not a forward declaration. This breaks compilation of RealTimeReportingBindings, as it has an std::vector of RealTimeReportingContributionPtr. Bug: 41455655 Change-Id: I9ee70fbb58af36f4cfc43a5d4b1e99799f4c760c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5541055 Reviewed-by: Russ Hamilton <[email protected]> Commit-Queue: José Dapena Paz <[email protected]> Cr-Commit-Position: refs/heads/main@{#1301266} --- content/services/auction_worklet/real_time_reporting_bindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/services/auction_worklet/real_time_reporting_bindings.h b/content/services/auction_worklet/real_time_reporting_bindings.h index c755d5cab041ec..da4d05e96f788c 100644 --- a/content/services/auction_worklet/real_time_reporting_bindings.h +++ b/content/services/auction_worklet/real_time_reporting_bindings.h @@ -12,7 +12,7 @@ #include "content/common/content_export.h" #include "content/services/auction_worklet/auction_v8_helper.h" #include "content/services/auction_worklet/context_recycler.h" -#include "content/services/auction_worklet/public/mojom/real_time_reporting.mojom-forward.h" +#include "content/services/auction_worklet/public/mojom/real_time_reporting.mojom.h" #include "v8/include/v8-forward.h" namespace auction_worklet { ++++++ chromium-125-missing-header-files.patch -> chromium-126-missing-header-files.patch ++++++ --- /work/SRC/openSUSE:Factory/chromium/chromium-125-missing-header-files.patch 2024-05-20 18:14:27.460520293 +0200 +++ /work/SRC/openSUSE:Factory/.chromium.new.2080/chromium-126-missing-header-files.patch 2024-07-10 16:48:17.368916981 +0200 @@ -244,3 +244,67 @@ #include "base/functional/callback.h" #include "third_party/blink/renderer/platform/heap/garbage_collected.h" #include "third_party/blink/renderer/platform/heap/member.h" + +Index: chromium-126.0.6478.126/gpu/config/webgpu_blocklist_impl.h +=================================================================== +--- chromium-126.0.6478.126.orig/gpu/config/webgpu_blocklist_impl.h ++++ chromium-126.0.6478.126/gpu/config/webgpu_blocklist_impl.h +@@ -6,6 +6,7 @@ + #define GPU_CONFIG_WEBGPU_BLOCKLIST_IMPL_H_ + + #include <string> ++#include <cstdint> + + namespace wgpu { + class Adapter; +Index: chromium-126.0.6478.126/third_party/blink/renderer/platform/fonts/shaping/run_segmenter.h +=================================================================== +--- chromium-126.0.6478.126.orig/third_party/blink/renderer/platform/fonts/shaping/run_segmenter.h ++++ chromium-126.0.6478.126/third_party/blink/renderer/platform/fonts/shaping/run_segmenter.h +@@ -6,7 +6,10 @@ + #define THIRD_PARTY_BLINK_RENDERER_PLATFORM_FONTS_SHAPING_RUN_SEGMENTER_H_ + + #include <unicode/uscript.h> ++ + #include <memory> ++#include <optional> ++ + #include "third_party/blink/renderer/platform/fonts/font_orientation.h" + #include "third_party/blink/renderer/platform/fonts/orientation_iterator.h" + #include "third_party/blink/renderer/platform/fonts/script_run_iterator.h" +Index: chromium-126.0.6478.126/third_party/blink/renderer/modules/encoding/text_decoder.h +=================================================================== +--- chromium-126.0.6478.126.orig/third_party/blink/renderer/modules/encoding/text_decoder.h ++++ chromium-126.0.6478.126/third_party/blink/renderer/modules/encoding/text_decoder.h +@@ -32,6 +32,7 @@ + #define THIRD_PARTY_BLINK_RENDERER_MODULES_ENCODING_TEXT_DECODER_H_ + + #include <memory> ++#include <optional> + + #include "third_party/blink/renderer/bindings/core/v8/v8_typedefs.h" + #include "third_party/blink/renderer/bindings/modules/v8/v8_text_decode_options.h" +Index: chromium-126.0.6478.126/third_party/blink/renderer/core/page/page_popup_controller.h +=================================================================== +--- chromium-126.0.6478.126.orig/third_party/blink/renderer/core/page/page_popup_controller.h ++++ chromium-126.0.6478.126/third_party/blink/renderer/core/page/page_popup_controller.h +@@ -31,6 +31,7 @@ + #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_PAGE_PAGE_POPUP_CONTROLLER_H_ + #define THIRD_PARTY_BLINK_RENDERER_CORE_PAGE_PAGE_POPUP_CONTROLLER_H_ + ++#include <optional> + #include "third_party/blink/renderer/platform/bindings/script_wrappable.h" + #include "third_party/blink/renderer/platform/heap/collection_support/heap_vector.h" + #include "third_party/blink/renderer/platform/heap/garbage_collected.h" +diff --git a/components/visited_url_ranking/public/url_visit.h b/components/visited_url_ranking/public/url_visit.h +index 8fa58c569f2411..8581be3068d81a 100644 +--- a/components/visited_url_ranking/public/url_visit.h ++++ b/components/visited_url_ranking/public/url_visit.h +@@ -8,6 +8,7 @@ + #include <memory> + #include <optional> + #include <set> ++#include <variant> + #include <vector> + + #include "base/functional/callback.h" ++++++ chromium-126-no-format.patch ++++++ >From 3a97a9b768a28e1d11fd9e86733a4179b5b2df15 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz <[email protected]> Date: Wed, 22 May 2024 15:44:27 +0000 Subject: [PATCH] Do not use std::format in ReadAnythingAppModel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit std::format is still not allowed in Chrome (and this usage also broke libstdc++ build as it was missing the required include). Fix by using base::StringPrintf. Bug: 41455655 Change-Id: I9a99e350c6ebf5e99baf5f90c06be6bad9c2a106 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5513609 Reviewed-by: Abigail Klein <[email protected]> Commit-Queue: José Dapena Paz <[email protected]> Cr-Commit-Position: refs/heads/main@{#1304460} --- chrome/renderer/accessibility/read_anything_app_model.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/chrome/renderer/accessibility/read_anything_app_model.cc b/chrome/renderer/accessibility/read_anything_app_model.cc index 57606844177a4a..c60794fe13c6fd 100644 --- a/chrome/renderer/accessibility/read_anything_app_model.cc +++ b/chrome/renderer/accessibility/read_anything_app_model.cc @@ -11,6 +11,7 @@ #include "base/check.h" #include "base/containers/contains.h" #include "base/metrics/histogram_functions.h" +#include "base/strings/stringprintf.h" #include "content/public/renderer/render_thread.h" #include "services/strings/grit/services_strings.h" #include "ui/accessibility/accessibility_features.h" @@ -1088,7 +1089,7 @@ std::string ReadAnythingAppModel::GetHtmlTag( int32_t hierarchical_level = ax_node->GetIntAttribute(ax::mojom::IntAttribute::kHierarchicalLevel); if (hierarchical_level) { - return std::format("h{}", hierarchical_level); + return base::StringPrintf("h%" PRId32, hierarchical_level); } } @@ -1188,7 +1189,7 @@ std::string ReadAnythingAppModel::GetHeadingHtmlTagForPDF( int32_t hierarchical_level = ax_node->GetIntAttribute(ax::mojom::IntAttribute::kHierarchicalLevel); if (hierarchical_level) { - return std::format("h{}", hierarchical_level); + return base::StringPrintf("h%" PRId32, hierarchical_level); } return html_tag; } ++++++ chromium-125-no_matching_constructor.patch -> chromium-126-no_matching_constructor.patch ++++++ ++++ 1906 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/chromium/chromium-125-no_matching_constructor.patch ++++ and /work/SRC/openSUSE:Factory/.chromium.new.2080/chromium-126-no_matching_constructor.patch ++++++ chromium-126-quiche-interator.patch ++++++ diff -up chromium-126.0.6478.26/net/third_party/quiche/src/quiche/quic/core/quic_interval_deque.h.me chromium-126.0.6478.26/net/third_party/quiche/src/quiche/quic/core/quic_interval_deque.h --- chromium-126.0.6478.26/net/third_party/quiche/src/quiche/quic/core/quic_interval_deque.h.me 2024-06-03 15:01:54.724207324 +0200 +++ chromium-126.0.6478.26/net/third_party/quiche/src/quiche/quic/core/quic_interval_deque.h 2024-06-03 14:58:16.244189794 +0200 @@ -144,7 +144,7 @@ class QUICHE_NO_EXPORT QuicIntervalDeque // for efficient std::lower_bound() calls. class QUICHE_NO_EXPORT Iterator { public: - using iterator_category = std::random_access_iterator_tag; + using iterator_category = std::forward_iterator_tag; using value_type = T; using difference_type = std::ptrdiff_t; using pointer = T*; ++++++ chromium-125.0.6422.141.tar.xz -> chromium-126.0.6478.126.tar.xz ++++++ /work/SRC/openSUSE:Factory/chromium/chromium-125.0.6422.141.tar.xz /work/SRC/openSUSE:Factory/.chromium.new.2080/chromium-126.0.6478.126.tar.xz differ: char 15, line 1 ++++++ chromium-93-ffmpeg-4.4.patch ++++++ --- /var/tmp/diff_new_pack.cuKvXg/_old 2024-07-10 16:49:24.371377196 +0200 +++ /var/tmp/diff_new_pack.cuKvXg/_new 2024-07-10 16:49:24.375377343 +0200 @@ -21,11 +21,11 @@ media/filters/ffmpeg_demuxer.cc | 16 ++++++++++++++++ 2 files changed, 20 insertions(+) -Index: chromium-119.0.6045.21/media/filters/audio_decoder_unittest.cc +Index: chromium-126.0.6478.8/media/filters/audio_decoder_unittest.cc =================================================================== ---- chromium-119.0.6045.21.orig/media/filters/audio_decoder_unittest.cc -+++ chromium-119.0.6045.21/media/filters/audio_decoder_unittest.cc -@@ -108,7 +108,11 @@ void SetDiscardPadding(AVPacket* packet, +--- chromium-126.0.6478.8.orig/media/filters/audio_decoder_unittest.cc ++++ chromium-126.0.6478.8/media/filters/audio_decoder_unittest.cc +@@ -109,7 +109,11 @@ void SetDiscardPadding(AVPacket* packet, } // If the timestamp is positive, try to use FFmpeg's discard data. @@ -37,11 +37,11 @@ const uint32_t* skip_samples_ptr = reinterpret_cast<const uint32_t*>(av_packet_get_side_data( packet, AV_PKT_DATA_SKIP_SAMPLES, &skip_samples_size)); -Index: chromium-119.0.6045.21/media/filters/ffmpeg_demuxer.cc +Index: chromium-126.0.6478.8/media/filters/ffmpeg_demuxer.cc =================================================================== ---- chromium-119.0.6045.21.orig/media/filters/ffmpeg_demuxer.cc -+++ chromium-119.0.6045.21/media/filters/ffmpeg_demuxer.cc -@@ -390,7 +390,11 @@ void FFmpegDemuxerStream::EnqueuePacket( +--- chromium-126.0.6478.8.orig/media/filters/ffmpeg_demuxer.cc ++++ chromium-126.0.6478.8/media/filters/ffmpeg_demuxer.cc +@@ -401,7 +401,11 @@ void FFmpegDemuxerStream::EnqueuePacket( scoped_refptr<DecoderBuffer> buffer; @@ -53,8 +53,8 @@ uint8_t* side_data = av_packet_get_side_data( packet.get(), AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL, &side_data_size); -@@ -453,7 +457,11 @@ void FFmpegDemuxerStream::EnqueuePacket( - packet->size - data_offset); +@@ -461,7 +465,11 @@ void FFmpegDemuxerStream::EnqueuePacket( + side_data + side_data_size); } +#if LIBAVUTIL_VERSION_MAJOR < 57
