git: 2c5fe353ed15 - 2022Q2 - www/chromium: update to 101.0.4951.54

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Tue, 03 May 2022 08:37:19 UTC
The branch 2022Q2 has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2c5fe353ed15f8a3e9ed97fdd6c28299116e76db

commit 2c5fe353ed15f8a3e9ed97fdd6c28299116e76db
Author:     Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-05-03 04:44:26 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-05-03 08:37:12 +0000

    www/chromium: update to 101.0.4951.54
    
    (cherry picked from commit 1821f674e65dd3bf1d992e1908368e4d3d97bfa8)
---
 www/chromium/Makefile                                  |  2 +-
 www/chromium/distinfo                                  | 10 +++++-----
 ...h-chrome_browser_download_download__file__picker.cc | 18 +++++++++---------
 ...browser_renderer__host_render__frame__host__impl.cc |  6 +++---
 ..._browser_renderer__host_render__frame__host__impl.h |  6 +++---
 5 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 13a3dffcee9c..0f8a3f65067e 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -1,7 +1,7 @@
 # Created by: Florent Thoumie <flz@FreeBSD.org>
 
 PORTNAME=	chromium
-PORTVERSION=	101.0.4951.41
+PORTVERSION=	101.0.4951.54
 CATEGORIES=	www
 MASTER_SITES=	https://commondatastorage.googleapis.com/chromium-browser-official/ \
 		https://nerd.hu/distfiles/:fonts
diff --git a/www/chromium/distinfo b/www/chromium/distinfo
index ac55e8ad2b6c..b01cfe36ad10 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1650566380
-SHA256 (chromium-101.0.4951.41.tar.xz) = 099863882e88b9a035fcb6b63dd5288554f6b27558e0ebce93e0d804465efa37
-SIZE (chromium-101.0.4951.41.tar.xz) = 1414841332
-SHA256 (chromium-101.0.4951.41-testdata.tar.xz) = f172a895533f618369176e04904b6d5eae7dce698b1358d53c985527c4805169
-SIZE (chromium-101.0.4951.41-testdata.tar.xz) = 260727368
+TIMESTAMP = 1651552125
+SHA256 (chromium-101.0.4951.54.tar.xz) = c26cc6fd453d9a42a6b5e46fa4f3ee62ed368bb78101512b6816bc5d8f4200b5
+SIZE (chromium-101.0.4951.54.tar.xz) = 1414896672
+SHA256 (chromium-101.0.4951.54-testdata.tar.xz) = d486d21556ccb13733c43d94141706bf7c7b204fe0f2849369c7a8246ade9965
+SIZE (chromium-101.0.4951.54-testdata.tar.xz) = 260728892
 SHA256 (test_fonts-cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb.tar.gz) = ec973eccd669d417fbf2d0a4dac730744a3174268ff062db5451b55c82bc3492
 SIZE (test_fonts-cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb.tar.gz) = 26759650
diff --git a/www/chromium/files/patch-chrome_browser_download_download__file__picker.cc b/www/chromium/files/patch-chrome_browser_download_download__file__picker.cc
index 6ca1a47ba79b..bbd456e9bf0d 100644
--- a/www/chromium/files/patch-chrome_browser_download_download__file__picker.cc
+++ b/www/chromium/files/patch-chrome_browser_download_download__file__picker.cc
@@ -1,20 +1,20 @@
---- chrome/browser/download/download_file_picker.cc.orig	2022-04-21 18:48:31 UTC
+--- chrome/browser/download/download_file_picker.cc.orig	2022-05-02 18:33:07 UTC
 +++ chrome/browser/download/download_file_picker.cc
 @@ -14,7 +14,7 @@
  #include "content/public/browser/download_manager.h"
  #include "content/public/browser/web_contents.h"
  
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- #include "chrome/browser/ui/browser_finder.h"
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/ui/browser_list.h"
  #include "chrome/browser/ui/browser_window.h"
  #include "ui/aura/window.h"
 @@ -74,7 +74,7 @@ DownloadFilePicker::DownloadFilePicker(DownloadItem* i
    // dialog in Linux. See SelectFileImpl() in select_file_dialog_linux_gtk.cc.
    // Here we make owning_window host to browser current active window
    // if it is null. https://crbug.com/1301898
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
-   if (!owning_window || !owning_window->GetHost())
-     owning_window =
-         chrome::FindBrowserWithActiveWindow()->window()->GetNativeWindow();
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
+   if (!owning_window || !owning_window->GetHost()) {
+     owning_window = BrowserList::GetInstance()
+                         ->GetLastActive()
diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__frame__host__impl.cc b/www/chromium/files/patch-content_browser_renderer__host_render__frame__host__impl.cc
index 106fa9b3d227..6d92341e3fa0 100644
--- a/www/chromium/files/patch-content_browser_renderer__host_render__frame__host__impl.cc
+++ b/www/chromium/files/patch-content_browser_renderer__host_render__frame__host__impl.cc
@@ -1,4 +1,4 @@
---- content/browser/renderer_host/render_frame_host_impl.cc.orig	2022-04-21 18:48:31 UTC
+--- content/browser/renderer_host/render_frame_host_impl.cc.orig	2022-05-03 04:41:28 UTC
 +++ content/browser/renderer_host/render_frame_host_impl.cc
 @@ -272,7 +272,7 @@
  #include "content/browser/renderer_host/render_view_host_delegate_view.h"
@@ -9,7 +9,7 @@
  #include "content/browser/accessibility/ax_screen_ai_annotator.h"
  #include "ui/accessibility/accessibility_features.h"
  #endif
-@@ -2632,7 +2632,7 @@ void RenderFrameHostImpl::AccessibilityPerformAction(
+@@ -2581,7 +2581,7 @@ void RenderFrameHostImpl::AccessibilityPerformAction(
        view->SetLastPointerType(ui::EventPointerType::kTouch);
    }
  
@@ -18,7 +18,7 @@
    if (action_data.action == ax::mojom::Action::kRunScreenAi) {
      RunScreenAIAnnotator();
      return;
-@@ -2642,7 +2642,7 @@ void RenderFrameHostImpl::AccessibilityPerformAction(
+@@ -2591,7 +2591,7 @@ void RenderFrameHostImpl::AccessibilityPerformAction(
    render_accessibility_->PerformAction(action_data);
  }
  
diff --git a/www/chromium/files/patch-content_browser_renderer__host_render__frame__host__impl.h b/www/chromium/files/patch-content_browser_renderer__host_render__frame__host__impl.h
index 7a01b62370fe..44378772e16b 100644
--- a/www/chromium/files/patch-content_browser_renderer__host_render__frame__host__impl.h
+++ b/www/chromium/files/patch-content_browser_renderer__host_render__frame__host__impl.h
@@ -1,6 +1,6 @@
---- content/browser/renderer_host/render_frame_host_impl.h.orig	2022-04-21 18:48:31 UTC
+--- content/browser/renderer_host/render_frame_host_impl.h.orig	2022-05-03 04:41:28 UTC
 +++ content/browser/renderer_host/render_frame_host_impl.h
-@@ -3314,7 +3314,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
+@@ -3301,7 +3301,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
    perfetto::protos::pbzero::RenderFrameHost::LifecycleState
    LifecycleStateToProto();
  
@@ -9,7 +9,7 @@
    void RunScreenAIAnnotator();
  #endif
  
-@@ -4154,7 +4154,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
+@@ -4141,7 +4141,7 @@ class CONTENT_EXPORT RenderFrameHostImpl
    BackForwardCacheDisablingFeaturesCallback
        back_forward_cache_disabling_features_callback_for_testing_;