From 471c0b745a1c15cdab992dcd55f980cbbc643bac Mon Sep 17 00:00:00 2001 From: Blaise Date: Tue, 10 Dec 2024 17:11:04 -0600 Subject: [PATCH] Update to Chromium 131.0.6778.139 --- chromium_version.txt | 2 +- domain_substitution.list | 1 + .../disable-google-host-detection.patch | 2 +- ...printing-flags-client-rects-and-measuretext.patch | 2 +- ...flag-fingerprinting-canvas-image-data-noise.patch | 2 +- .../add-flag-for-close-confirmation.patch | 12 ++++++------ .../add-flag-for-tab-hover-cards.patch | 2 +- .../add-flag-to-hide-tab-close-buttons.patch | 4 ++-- pruning.list | 1 + 9 files changed, 15 insertions(+), 13 deletions(-) diff --git a/chromium_version.txt b/chromium_version.txt index 277b07a7e6..3e00090415 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -131.0.6778.108 +131.0.6778.139 diff --git a/domain_substitution.list b/domain_substitution.list index 5954dd9c62..146087d41a 100644 --- a/domain_substitution.list +++ b/domain_substitution.list @@ -11293,6 +11293,7 @@ third_party/hyphenation-patterns/src/sv/hyph-sv.lic.txt third_party/iaccessible2/ia2_api_all.idl third_party/icu/filters/android.json third_party/icu/filters/cast.json +third_party/icu/filters/chromecast_video.json third_party/icu/filters/chromeos.json third_party/icu/filters/common.json third_party/icu/filters/flutter.json diff --git a/patches/core/ungoogled-chromium/disable-google-host-detection.patch b/patches/core/ungoogled-chromium/disable-google-host-detection.patch index 1ee1246016..508c420541 100644 --- a/patches/core/ungoogled-chromium/disable-google-host-detection.patch +++ b/patches/core/ungoogled-chromium/disable-google-host-detection.patch @@ -675,7 +675,7 @@ } // namespace variations --- a/content/browser/preloading/prefetch/prefetch_container.cc +++ b/content/browser/preloading/prefetch/prefetch_container.cc -@@ -960,7 +960,7 @@ void PrefetchContainer::AddRedirectHop(c +@@ -974,7 +974,7 @@ void PrefetchContainer::AddRedirectHop(c // some which are added by throttles). These aren't yet supported for // prefetch, including browsing topics and client hints. net::HttpRequestHeaders updated_headers; diff --git a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch index cb7b044387..b85823650c 100644 --- a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch +++ b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch @@ -303,7 +303,7 @@ void BaseRenderingContext2D::SnapshotStateForFilter() { --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1762,6 +1762,7 @@ component("platform") { +@@ -1764,6 +1764,7 @@ component("platform") { "//components/paint_preview/common", "//components/search_engines:search_engine_utils", "//components/translate/core/language_detection:language_detection", diff --git a/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch b/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch index 546bc8d16f..e9088c25d7 100644 --- a/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch +++ b/patches/extra/bromite/flag-fingerprinting-canvas-image-data-noise.patch @@ -77,7 +77,7 @@ approach to change color components. return image_data; --- a/third_party/blink/renderer/platform/BUILD.gn +++ b/third_party/blink/renderer/platform/BUILD.gn -@@ -1709,7 +1709,9 @@ component("platform") { +@@ -1711,7 +1711,9 @@ component("platform") { "//third_party/blink/renderer:non_test_config", ] diff --git a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch index e52042c7b5..f85ee4269f 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-close-confirmation.patch @@ -16,7 +16,7 @@ override_bounds_(params.initial_bounds), initial_show_state_(params.initial_show_state), initial_workspace_(params.initial_workspace), -@@ -999,20 +1001,22 @@ Browser::WarnBeforeClosingResult Browser +@@ -988,20 +990,22 @@ Browser::WarnBeforeClosingResult Browser return WarnBeforeClosingResult::kOkToClose; } @@ -52,7 +52,7 @@ } DCHECK(!warn_before_closing_callback_) -@@ -1050,6 +1054,7 @@ bool Browser::TryToCloseWindow( +@@ -1039,6 +1043,7 @@ bool Browser::TryToCloseWindow( void Browser::ResetTryToCloseWindow() { cancel_download_confirmation_state_ = NOT_PROMPTED; @@ -60,7 +60,7 @@ unload_controller_.ResetTryToCloseWindow(); } -@@ -3133,6 +3138,58 @@ bool Browser::CanCloseWithInProgressDown +@@ -3122,6 +3127,58 @@ bool Browser::CanCloseWithInProgressDown return false; } @@ -119,7 +119,7 @@ void Browser::InProgressDownloadResponse(bool cancel_downloads) { if (cancel_downloads) { cancel_download_confirmation_state_ = RESPONSE_RECEIVED; -@@ -3158,6 +3215,22 @@ void Browser::InProgressDownloadResponse +@@ -3147,6 +3204,22 @@ void Browser::InProgressDownloadResponse std::move(warn_before_closing_callback_) .Run(WarnBeforeClosingResult::kDoNotClose); @@ -152,7 +152,7 @@ #include "chrome/browser/ui/signin/signin_view_controller.h" #include "chrome/browser/ui/tabs/tab_strip_model.h" #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" -@@ -1181,12 +1182,17 @@ class Browser : public TabStripModelObse +@@ -1180,12 +1181,17 @@ class Browser : public TabStripModelObse // Returns true if the window can close, false otherwise. bool CanCloseWithInProgressDownloads(); @@ -170,7 +170,7 @@ // Called when the user has decided whether to proceed or not with the browser // closure, in case the cookie migration notice was shown. |proceed_closing| // is true if the browser can be closed. -@@ -1352,6 +1358,8 @@ class Browser : public TabStripModelObse +@@ -1351,6 +1357,8 @@ class Browser : public TabStripModelObse // when the browser is closed with in-progress downloads. CancelDownloadConfirmationState cancel_download_confirmation_state_; diff --git a/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch b/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch index d9ece4245a..511b7ef766 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch @@ -8,7 +8,7 @@ #include "base/debug/alias.h" #include "base/functional/bind.h" #include "base/i18n/rtl.h" -@@ -704,6 +705,8 @@ void Tab::OnGestureEvent(ui::GestureEven +@@ -703,6 +704,8 @@ void Tab::OnGestureEvent(ui::GestureEven } std::u16string Tab::GetTooltipText(const gfx::Point& p) const { diff --git a/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch b/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch index 6b50196577..24603ce6f5 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/ui/views/tabs/tab.cc +++ b/chrome/browser/ui/views/tabs/tab.cc -@@ -1117,7 +1117,11 @@ void Tab::UpdateIconVisibility() { +@@ -1080,7 +1080,11 @@ void Tab::UpdateIconVisibility() { // Close button is shown on active tabs regardless of the size. showing_close_button_ = true; #endif // BUILDFLAG(IS_CHROMEOS_ASH) @@ -12,7 +12,7 @@ showing_alert_indicator_ = has_alert_icon && alert_icon_width <= available_width; -@@ -1146,6 +1150,8 @@ void Tab::UpdateIconVisibility() { +@@ -1109,6 +1113,8 @@ void Tab::UpdateIconVisibility() { !controller_->IsLockedForOnTask() && #endif large_enough_for_close_button; diff --git a/pruning.list b/pruning.list index 394498a91e..f99b6ec0e3 100644 --- a/pruning.list +++ b/pruning.list @@ -64797,6 +64797,7 @@ third_party/hyphenation-patterns/hyb/hyph-tk.hyb third_party/hyphenation-patterns/hyb/hyph-uk.hyb third_party/hyphenation-patterns/hyb/hyph-und-ethi.hyb third_party/icu/cast/icudtl.dat +third_party/icu/chromecast_video/icudtl.dat third_party/icu/chromeos/icudtl.dat third_party/icu/flutter/icudtl.dat third_party/icu/flutter_desktop/icudtl.dat