git: 69b48f1d9f78 - 2022Q2 - www/chromium: update to 102.0.5005.115

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Fri, 10 Jun 2022 10:02:11 UTC
The branch 2022Q2 has been updated by rene:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69b48f1d9f784731c709cd41044da37dbb583660

commit 69b48f1d9f784731c709cd41044da37dbb583660
Author:     Robert Nagy <robert@openbsd.org>
AuthorDate: 2022-06-10 08:54:18 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2022-06-10 10:02:00 +0000

    www/chromium: update to 102.0.5005.115
    
    Security:       https://vuxml.freebsd.org/freebsd/c80ce2dd-e831-11ec-bcd2-3065ec8fd3ec.html
    (cherry picked from commit 6fbdece63f38a16066099bccf424732baee41477)
---
 www/chromium/Makefile                                  |  3 +--
 www/chromium/distinfo                                  | 10 +++++-----
 ...tch-content_renderer_media_render__media__client.cc | 11 +++++++++++
 .../files/patch-media_base_supported__types.cc         |  4 ++--
 www/chromium/files/patch-ui_gfx_x_window__cache.cc     | 18 ------------------
 5 files changed, 19 insertions(+), 27 deletions(-)

diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index f188d2a1c6f9..ef6a49dbe35a 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -1,8 +1,7 @@
 # Created by: Florent Thoumie <flz@FreeBSD.org>
 
 PORTNAME=	chromium
-PORTVERSION=	102.0.5005.61
-PORTREVISION=	2
+PORTVERSION=	102.0.5005.115
 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 9056d6f260f6..d27ac26ad93a 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1652962621
-SHA256 (chromium-102.0.5005.61.tar.xz) = 1a3797d36901fa3ba63744b9a870b65a8890c9a850442c160196bc64df886b1f
-SIZE (chromium-102.0.5005.61.tar.xz) = 1433350708
-SHA256 (chromium-102.0.5005.61-testdata.tar.xz) = 463cd2d0fb101d16bd931814037625d092a65ed4a3b99249d2948201b2fe5805
-SIZE (chromium-102.0.5005.61-testdata.tar.xz) = 260757092
+TIMESTAMP = 1654845180
+SHA256 (chromium-102.0.5005.115.tar.xz) = 301d40e5373b6dad9bc6aeb6898116d1f7dd2d0589ed18e108c56e2290df47e6
+SIZE (chromium-102.0.5005.115.tar.xz) = 1461900356
+SHA256 (chromium-102.0.5005.115-testdata.tar.xz) = f979682d8f159cdab5bc0f07ca6342e6e8f7718fedb30dac49bdd8f3f9739a4e
+SIZE (chromium-102.0.5005.115-testdata.tar.xz) = 260718224
 SHA256 (test_fonts-cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb.tar.gz) = ec973eccd669d417fbf2d0a4dac730744a3174268ff062db5451b55c82bc3492
 SIZE (test_fonts-cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb.tar.gz) = 26759650
diff --git a/www/chromium/files/patch-content_renderer_media_render__media__client.cc b/www/chromium/files/patch-content_renderer_media_render__media__client.cc
new file mode 100644
index 000000000000..7d6d77b25761
--- /dev/null
+++ b/www/chromium/files/patch-content_renderer_media_render__media__client.cc
@@ -0,0 +1,11 @@
+--- content/renderer/media/render_media_client.cc.orig	2022-06-10 07:26:31 UTC
++++ content/renderer/media/render_media_client.cc
+@@ -21,7 +21,7 @@ namespace {
+ // it asynchronously ahead of time, but can fallback to a blocking call
+ // when it's needed synchronously.
+ #if BUILDFLAG(ENABLE_PLATFORM_HEVC) && \
+-    (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX))
++    (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD))
+ #define NEEDS_PROFILE_UPDATER 1
+ #else
+ #define NEEDS_PROFILE_UPDATER 0
diff --git a/www/chromium/files/patch-media_base_supported__types.cc b/www/chromium/files/patch-media_base_supported__types.cc
index ec23228a6875..6cfc24869008 100644
--- a/www/chromium/files/patch-media_base_supported__types.cc
+++ b/www/chromium/files/patch-media_base_supported__types.cc
@@ -1,6 +1,6 @@
---- media/base/supported_types.cc.orig	2022-05-19 14:06:27 UTC
+--- media/base/supported_types.cc.orig	2022-06-10 07:26:31 UTC
 +++ media/base/supported_types.cc
-@@ -206,7 +206,7 @@ bool IsHevcProfileSupported(const VideoType& type) {
+@@ -205,7 +205,7 @@ bool IsHevcProfileSupported(const VideoType& type) {
      return false;
  
  #if BUILDFLAG(ENABLE_PLATFORM_HEVC)
diff --git a/www/chromium/files/patch-ui_gfx_x_window__cache.cc b/www/chromium/files/patch-ui_gfx_x_window__cache.cc
deleted file mode 100644
index f812b4326c25..000000000000
--- a/www/chromium/files/patch-ui_gfx_x_window__cache.cc
+++ /dev/null
@@ -1,18 +0,0 @@
---- ui/gfx/x/window_cache.cc.orig	2022-05-19 14:06:27 UTC
-+++ ui/gfx/x/window_cache.cc
-@@ -152,13 +152,13 @@ Window WindowCache::GetWindowAtPoint(gfx::Point point_
-     }
-   }
- 
--  if (info->has_wm_name)
--    return window;
-   for (Window child : base::Reversed(info->children)) {
-     Window ret = GetWindowAtPoint(point_px, child, ignore);
-     if (ret != Window::None)
-       return ret;
-   }
-+  if (info->has_wm_name)
-+    return window;
-   return Window::None;
- }
-