From e9422b46ae32f4de5d3f06b6ce77f1f9c70bf92a Mon Sep 17 00:00:00 2001 From: Blaise Date: Mon, 10 May 2021 17:45:59 -0500 Subject: [PATCH] Update to Chromiun 90.0.4430.212 --- chromium_version.txt | 2 +- .../0001-fix-building-without-safebrowsing.patch | 8 ++++---- .../fix-building-without-safebrowsing.patch | 6 +++--- .../remove-unused-preferences-fields.patch | 4 ++-- .../extra/inox-patchset/0006-modify-default-prefs.patch | 2 +- .../ungoogled-chromium/add-flag-for-pdf-plugin-name.patch | 2 +- .../add-flag-to-close-window-with-last-tab.patch | 2 +- .../enable-paste-and-go-new-tab-button.patch | 4 ++-- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/chromium_version.txt b/chromium_version.txt index b7b2d4b9..2e42e696 100644 --- a/chromium_version.txt +++ b/chromium_version.txt @@ -1 +1 @@ -90.0.4430.93 +90.0.4430.212 diff --git a/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch b/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch index 5934a4c2..a20f877d 100644 --- a/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch +++ b/patches/core/inox-patchset/0001-fix-building-without-safebrowsing.patch @@ -136,7 +136,7 @@ delete_begin, delete_end, filter_builder, host_content_settings_map_, --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -957,30 +957,6 @@ void SetApplicationLocaleOnIOThread(cons +@@ -958,30 +958,6 @@ void SetApplicationLocaleOnIOThread(cons GetIOThreadApplicationLocale() = locale; } @@ -167,7 +167,7 @@ #if BUILDFLAG(ENABLE_EXTENSIONS) AppLoadedInTabSource ClassifyAppLoadedInTabSource( -@@ -1402,7 +1378,6 @@ void ChromeContentBrowserClient::PostAft +@@ -1403,7 +1379,6 @@ void ChromeContentBrowserClient::PostAft InitNetworkContextsParentDirectory(); DCHECK_CURRENTLY_ON(BrowserThread::UI); @@ -175,7 +175,7 @@ } bool ChromeContentBrowserClient::IsBrowserStartupComplete() { -@@ -4109,7 +4084,7 @@ ChromeContentBrowserClient::CreateThrott +@@ -4110,7 +4085,7 @@ ChromeContentBrowserClient::CreateThrott base::BindRepeating(&MaybeTriggerSecurityInterstitialShownEvent)); throttles.push_back(std::make_unique( handle, @@ -184,7 +184,7 @@ base::BindOnce(&HandleSSLErrorWrapper), base::BindOnce(&IsInHostedApp), base::BindOnce( &TypedNavigationUpgradeThrottle:: -@@ -4131,9 +4106,6 @@ ChromeContentBrowserClient::CreateThrott +@@ -4132,9 +4107,6 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif diff --git a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch index 98052529..91332103 100644 --- a/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch +++ b/patches/core/ungoogled-chromium/fix-building-without-safebrowsing.patch @@ -2,7 +2,7 @@ --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -4106,11 +4106,13 @@ ChromeContentBrowserClient::CreateThrott +@@ -4107,11 +4107,13 @@ ChromeContentBrowserClient::CreateThrott &throttles); #endif @@ -16,7 +16,7 @@ // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch // of lacros-chrome is complete. -@@ -5309,26 +5311,7 @@ ChromeContentBrowserClient::GetSafeBrows +@@ -5317,26 +5319,7 @@ ChromeContentBrowserClient::GetSafeBrows const std::vector& allowlist_domains) { DCHECK_CURRENTLY_ON(BrowserThread::IO); @@ -44,7 +44,7 @@ } safe_browsing::RealTimeUrlLookupServiceBase* -@@ -5349,11 +5332,6 @@ ChromeContentBrowserClient::GetUrlLookup +@@ -5357,11 +5340,6 @@ ChromeContentBrowserClient::GetUrlLookup GetForProfile(profile); } #endif diff --git a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch index f3857795..d6308799 100644 --- a/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch +++ b/patches/core/ungoogled-chromium/remove-unused-preferences-fields.patch @@ -4855,7 +4855,7 @@ #include "components/signin/public/identity_manager/identity_test_utils.h" --- a/tools/metrics/histograms/enums.xml +++ b/tools/metrics/histograms/enums.xml -@@ -76363,7 +76363,6 @@ Full version information for the fingerp +@@ -76364,7 +76364,6 @@ Full version information for the fingerp @@ -4863,7 +4863,7 @@ -@@ -76378,10 +76377,7 @@ Full version information for the fingerp +@@ -76379,10 +76378,7 @@ Full version information for the fingerp diff --git a/patches/extra/inox-patchset/0006-modify-default-prefs.patch b/patches/extra/inox-patchset/0006-modify-default-prefs.patch index 6544e669..8f8f146a 100644 --- a/patches/extra/inox-patchset/0006-modify-default-prefs.patch +++ b/patches/extra/inox-patchset/0006-modify-default-prefs.patch @@ -12,7 +12,7 @@ void BackgroundModeManager::RegisterProfile(Profile* profile) { --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -1238,7 +1238,7 @@ void ChromeContentBrowserClient::Registe +@@ -1239,7 +1239,7 @@ void ChromeContentBrowserClient::Registe void ChromeContentBrowserClient::RegisterProfilePrefs( user_prefs::PrefRegistrySyncable* registry) { registry->RegisterBooleanPref(prefs::kDisable3DAPIs, false); diff --git a/patches/extra/ungoogled-chromium/add-flag-for-pdf-plugin-name.patch b/patches/extra/ungoogled-chromium/add-flag-for-pdf-plugin-name.patch index e2e2e734..e85e19ca 100644 --- a/patches/extra/ungoogled-chromium/add-flag-for-pdf-plugin-name.patch +++ b/patches/extra/ungoogled-chromium/add-flag-for-pdf-plugin-name.patch @@ -1,6 +1,6 @@ --- a/chrome/browser/chrome_content_browser_client.cc +++ b/chrome/browser/chrome_content_browser_client.cc -@@ -5918,7 +5918,7 @@ bool ChromeContentBrowserClient::ShouldA +@@ -5926,7 +5926,7 @@ bool ChromeContentBrowserClient::ShouldA const url::Origin& embedder_origin, const content::PepperPluginInfo& plugin_info) { #if BUILDFLAG(ENABLE_PDF) diff --git a/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch b/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch index ffb9b841..851a686d 100644 --- a/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch +++ b/patches/extra/ungoogled-chromium/add-flag-to-close-window-with-last-tab.patch @@ -8,7 +8,7 @@ #include "base/containers/flat_map.h" #include "base/metrics/histogram_macros.h" #include "base/metrics/user_metrics.h" -@@ -1752,6 +1753,10 @@ bool TabStripModel::InternalCloseTabs( +@@ -1755,6 +1756,10 @@ bool TabStripModel::InternalCloseTabs( if (items.empty()) return true; diff --git a/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch b/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch index d301311e..2edf7463 100644 --- a/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch +++ b/patches/extra/ungoogled-chromium/enable-paste-and-go-new-tab-button.patch @@ -13,7 +13,7 @@ AddChildView(std::make_unique()); --- a/chrome/browser/ui/views/tabs/tab_strip.cc +++ b/chrome/browser/ui/views/tabs/tab_strip.cc -@@ -2660,8 +2660,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -2664,8 +2664,6 @@ void TabStrip::NewTabButtonPressed(const const ui::MouseEvent& mouse = static_cast(event); if (mouse.IsOnlyMiddleMouseButton()) { @@ -22,7 +22,7 @@ ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread(); CHECK(clipboard); base::string16 clipboard_text; -@@ -2669,7 +2667,6 @@ void TabStrip::NewTabButtonPressed(const +@@ -2673,7 +2671,6 @@ void TabStrip::NewTabButtonPressed(const /* data_dst = */ nullptr, &clipboard_text); if (!clipboard_text.empty()) controller_->CreateNewTabWithLocation(clipboard_text);