From 577fb80e68f11c431305491e13d32a86e8fee2b9 Mon Sep 17 00:00:00 2001 From: dilinger Date: Sat, 11 Jul 2026 17:58:20 -0400 Subject: [PATCH 1/5] Ensure that when this patch is used by itself, NOTREACHED() isn't reached (#3862) --- .../remove-navigation-source-param.patch | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/patches/core/ungoogled-chromium/remove-navigation-source-param.patch b/patches/core/ungoogled-chromium/remove-navigation-source-param.patch index ace69fe7..4996b642 100644 --- a/patches/core/ungoogled-chromium/remove-navigation-source-param.patch +++ b/patches/core/ungoogled-chromium/remove-navigation-source-param.patch @@ -2,11 +2,10 @@ # when navigating from the onmibox/realbox --- a/components/search_engines/template_url.cc +++ b/components/search_engines/template_url.cc -@@ -1413,26 +1413,6 @@ std::string TemplateURLRef::HandleReplac - // url.insert(replacement.index, used_www ? "gcx=w&" : "gcx=c&"); +@@ -1414,23 +1414,6 @@ std::string TemplateURLRef::HandleReplac break; -- case GOOGLE_SEARCH_SOURCE: { + case GOOGLE_SEARCH_SOURCE: { - DCHECK(!replacement.is_post_param); - using OEP = ::metrics::OmniboxEventProto; - std::string source_param; @@ -24,8 +23,6 @@ - if (!source_param.empty()) { - HandleReplacement("source", source_param, replacement, &url); - } -- break; -- } + break; + } - case GOOGLE_SEARCH_SOURCE_ID: { - DCHECK(!replacement.is_post_param); From 4addaf0c700e67f29fc79dff3f6cd239cfe29ba7 Mon Sep 17 00:00:00 2001 From: colayu <89824091+colayu@users.noreply.github.com> Date: Tue, 14 Jul 2026 20:25:26 +0800 Subject: [PATCH 2/5] Remove unnecessary code from disable-ai patch (#3865) --- patches/core/ungoogled-chromium/disable-ai.patch | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/patches/core/ungoogled-chromium/disable-ai.patch b/patches/core/ungoogled-chromium/disable-ai.patch index 05ed59e7..0a74a1d0 100644 --- a/patches/core/ungoogled-chromium/disable-ai.patch +++ b/patches/core/ungoogled-chromium/disable-ai.patch @@ -135,17 +135,7 @@ - return nullptr; } - ---- a/chrome/browser/actor/ui/actor_ui_tab_controller.cc -+++ b/chrome/browser/actor/ui/actor_ui_tab_controller.cc -@@ -50,7 +50,6 @@ ActorUiTabController::ActorUiTabControll - scoped_unowned_user_data_(tab.GetUnownedUserDataHost(), *this) { - CHECK(base::FeatureList::IsEnabled(features::kGlicActorUi)); - CHECK(base::FeatureList::IsEnabled(features::kGlicActor)); -- CHECK(actor_keyed_service_); - } - - ActorUiTabController::~ActorUiTabController() = default; + --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc @@ -260,12 +260,10 @@ void OnLocalStatePrefsLoaded(); From 391bf507647ff2487d0f246846abe8c5b4047046 Mon Sep 17 00:00:00 2001 From: "Daniel Richard G." Date: Tue, 14 Jul 2026 12:56:34 -0400 Subject: [PATCH 3/5] Fix global variables in Python 3.14 multiprocessing processes (#3866) --- devutils/update_lists.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/devutils/update_lists.py b/devutils/update_lists.py index 52ad0e40..5ea0a72f 100755 --- a/devutils/update_lists.py +++ b/devutils/update_lists.py @@ -12,11 +12,11 @@ the process has finished. """ import argparse +import multiprocessing import os import sys from itertools import repeat -from multiprocessing import Pool from pathlib import Path, PurePosixPath sys.path.insert(0, str(Path(__file__).resolve().parent.parent / 'utils')) @@ -315,7 +315,7 @@ def compute_lists(source_tree, search_regex, processes): # pylint: disable=too-m unused_patterns = UnusedPatterns() # Launch multiple processes iterating over the source tree - with Pool(processes) as procpool: + with multiprocessing.Pool(processes) as procpool: returned_data = procpool.starmap( compute_lists_proc, zip(source_tree.rglob('*'), repeat(source_tree), repeat(search_regex))) @@ -404,4 +404,5 @@ def main(args_list=None): if __name__ == "__main__": + multiprocessing.set_start_method('fork') main() From 68be4fc5a3fb8a47aeeffeadcb602d0303a0685c Mon Sep 17 00:00:00 2001 From: wukko Date: Wed, 15 Jul 2026 15:50:16 +0600 Subject: [PATCH 4/5] devutils/update_lists: use fork multiprocessing only on posix fixes breakage on windows introduced by #3866. fork is indeed available on all POSIX systems, but windows isn't one, so we use the default spawn method on all non-POSIX systems (nt/windows) instead. --- devutils/update_lists.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/devutils/update_lists.py b/devutils/update_lists.py index 5ea0a72f..549d8b8e 100755 --- a/devutils/update_lists.py +++ b/devutils/update_lists.py @@ -404,5 +404,6 @@ def main(args_list=None): if __name__ == "__main__": - multiprocessing.set_start_method('fork') + if os.name == 'posix': + multiprocessing.set_start_method('fork') main() From 88b2bb9ae0009dc3fe693b7105acc0d6593342b4 Mon Sep 17 00:00:00 2001 From: Blaise Date: Tue, 14 Jul 2026 12:01:47 -0500 Subject: [PATCH 5/5] Update to Chromium 150.0.7871.124 --- chromium_version.txt | 2 +- patches/core/inox-patchset/0021-disable-rlz.patch | 2 +- .../core/ungoogled-chromium/block-trk-and-subdomains.patch | 2 +- patches/core/ungoogled-chromium/disable-ai.patch | 2 +- .../fix-building-without-safebrowsing.patch | 2 +- .../fingerprinting-flags-client-rects-and-measuretext.patch | 4 ++-- .../fix-building-without-mdns-and-service-discovery.patch | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/chromium_version.txt b/chromium_version.txt index 53835516..c93efcc1 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -150.0.7871.114 +150.0.7871.124 diff --git a/patches/core/inox-patchset/0021-disable-rlz.patch b/patches/core/inox-patchset/0021-disable-rlz.patch index aae65886..57fb3335 100644 --- a/patches/core/inox-patchset/0021-disable-rlz.patch +++ b/patches/core/inox-patchset/0021-disable-rlz.patch @@ -2,7 +2,7 @@ --- a/BUILD.gn +++ b/BUILD.gn -@@ -457,14 +457,6 @@ group("gn_all") { +@@ -462,14 +462,6 @@ group("gn_all") { ] } diff --git a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch index cc49c75f..0f956c4d 100644 --- a/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch +++ b/patches/core/ungoogled-chromium/block-trk-and-subdomains.patch @@ -60,7 +60,7 @@ return GURL(parts.scheme.is_valid() ? text : FixupPath(text)); --- a/content/browser/child_process_security_policy_impl.cc +++ b/content/browser/child_process_security_policy_impl.cc -@@ -1118,6 +1118,7 @@ void ChildProcessSecurityPolicyImpl::Reg +@@ -1119,6 +1119,7 @@ void ChildProcessSecurityPolicyImpl::Reg RegisterWebSafeScheme(url::kWssScheme); #endif // BUILDFLAG(ENABLE_WEBSOCKETS) RegisterWebSafeScheme(url::kDataScheme); diff --git a/patches/core/ungoogled-chromium/disable-ai.patch b/patches/core/ungoogled-chromium/disable-ai.patch index 0a74a1d0..88824f24 100644 --- a/patches/core/ungoogled-chromium/disable-ai.patch +++ b/patches/core/ungoogled-chromium/disable-ai.patch @@ -135,7 +135,7 @@ - return nullptr; } - + --- a/chrome/browser/browser_process_impl.cc +++ b/chrome/browser/browser_process_impl.cc @@ -260,12 +260,10 @@ void OnLocalStatePrefsLoaded(); diff --git a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch index a8aee5bc..229c3160 100644 --- a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch +++ b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch @@ -1110,7 +1110,7 @@ void OnOptinImpression() override { --- a/chrome/browser/lifetime/smart_restart_policy.cc +++ b/chrome/browser/lifetime/smart_restart_policy.cc -@@ -12,7 +12,6 @@ +@@ -13,7 +13,6 @@ #include "chrome/browser/ui/startup/startup_browser_creator.h" #include "chrome/common/chrome_features.h" #include "components/prefs/pref_service.h" 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 207fd52a..6b219eca 100644 --- a/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch +++ b/patches/extra/bromite/fingerprinting-flags-client-rects-and-measuretext.patch @@ -176,7 +176,7 @@ // - ScriptSchedulingType::kInOrder --- a/third_party/blink/renderer/core/dom/element.cc +++ b/third_party/blink/renderer/core/dom/element.cc -@@ -3461,6 +3461,9 @@ Vector Element::GetClientRec +@@ -3462,6 +3462,9 @@ Vector Element::GetClientRec } Vector result; for (auto& quad : quads) { @@ -186,7 +186,7 @@ result.emplace_back(quad.BoundingBox()); } return result; -@@ -3490,6 +3493,9 @@ gfx::RectF Element::GetBoundingClientRec +@@ -3491,6 +3494,9 @@ gfx::RectF Element::GetBoundingClientRec DCHECK(element_layout_object); GetDocument().AdjustRectForScrollAndAbsoluteZoom(result, *element_layout_object); diff --git a/patches/extra/ungoogled-chromium/fix-building-without-mdns-and-service-discovery.patch b/patches/extra/ungoogled-chromium/fix-building-without-mdns-and-service-discovery.patch index b9ba6bc2..a29c0520 100644 --- a/patches/extra/ungoogled-chromium/fix-building-without-mdns-and-service-discovery.patch +++ b/patches/extra/ungoogled-chromium/fix-building-without-mdns-and-service-discovery.patch @@ -2,7 +2,7 @@ --- a/BUILD.gn +++ b/BUILD.gn -@@ -579,9 +579,6 @@ group("gn_all") { +@@ -584,9 +584,6 @@ group("gn_all") { deps += [ "//chrome/test:chrome_app_unittests" ] }