git: 007e51c89032 - 2024Q2 - www/chromium: update to 126.0.6478.126

From: Robert Nagy <rnagy_at_FreeBSD.org>
Date: Tue, 25 Jun 2024 09:50:12 UTC
The branch 2024Q2 has been updated by rnagy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=007e51c89032b1604ee44a49ed63c26617f3ca93

commit 007e51c89032b1604ee44a49ed63c26617f3ca93
Author:     Robert Nagy <rnagy@FreeBSD.org>
AuthorDate: 2024-06-20 13:05:10 +0000
Commit:     Robert Nagy <rnagy@FreeBSD.org>
CommitDate: 2024-06-25 09:49:55 +0000

    www/chromium: update to 126.0.6478.126
    
    Security:       https://vuxml.freebsd.org/freebsd/2b68c86a-32d5-11ef-8a0f-a8a1599412c6.html
    (cherry picked from commit 54898b9a6952cbf38e21ea3b3dd6313c1402ed0b)
    (cherry picked from commit 049d204f2bd3db516377f98db8a00322cf08ad84)
---
 www/chromium/Makefile                                      |  2 +-
 www/chromium/distinfo                                      | 14 +++++++-------
 ...rowser_ui_webui_chrome__web__ui__controller__factory.cc |  8 ++++----
 .../files/patch-ui_ozone_platform_x11_x11__window.cc       |  6 +++---
 4 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/www/chromium/Makefile b/www/chromium/Makefile
index 8ccd745771bb..ef0fed481be6 100644
--- a/www/chromium/Makefile
+++ b/www/chromium/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	chromium
-PORTVERSION=	126.0.6478.61
+PORTVERSION=	126.0.6478.126
 PULSEMV=	16
 PULSEV=		${PULSEMV}.1
 CATEGORIES=	www wayland
diff --git a/www/chromium/distinfo b/www/chromium/distinfo
index 333f3eee8ad8..f8f63c1c2c2b 100644
--- a/www/chromium/distinfo
+++ b/www/chromium/distinfo
@@ -1,11 +1,11 @@
-TIMESTAMP = 1718634893
-SHA256 (chromium-126.0.6478.61.tar.xz) = 4b4075b7885d212265053f1d87ca31496f21bbf6d2a3c5b0dbec153f6ed0f990
-SIZE (chromium-126.0.6478.61.tar.xz) = 4165076884
-SHA256 (chrome-linux-126.0.6478.61-llvm17.profdata.tar.xz) = 65e7bd8319196871cc4284608c02d39e5a699d7db93b81404604060f9688ace2
-SIZE (chrome-linux-126.0.6478.61-llvm17.profdata.tar.xz) = 30469864
+TIMESTAMP = 1719308067
+SHA256 (chromium-126.0.6478.126.tar.xz) = 5d5206637e659f03e006cd8b6b269c49c0c2c697d10517e14dbcea851831e143
+SIZE (chromium-126.0.6478.126.tar.xz) = 4166142564
+SHA256 (chrome-linux-126.0.6478.126-llvm17.profdata.tar.xz) = daa5caa2a8dd8790c46c35cd37ed7ada57ceb6e9533bccc225c64d45a60d4422
+SIZE (chrome-linux-126.0.6478.126-llvm17.profdata.tar.xz) = 30502872
 SHA256 (pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
 SIZE (pulseaudio-16.1.tar.gz) = 2763111
-SHA256 (chromium-126.0.6478.61-testdata.tar.xz) = e1d7d4ee8dbcb7c416e7a98d8dd4f2d1bfb6e265fa171e599f5e42c31c3c2879
-SIZE (chromium-126.0.6478.61-testdata.tar.xz) = 278952804
+SHA256 (chromium-126.0.6478.126-testdata.tar.xz) = a25a71bff83a0185dabef2237ad09cfaf367f023a2b650f7dafc79c794cc6bd7
+SIZE (chromium-126.0.6478.126-testdata.tar.xz) = 281163232
 SHA256 (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (test_fonts-336e775eec536b2d785cc80eff6ac39051931286.tar.gz) = 32624734
diff --git a/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc b/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
index 241263677056..a19372e4e37d 100644
--- a/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
+++ b/www/chromium/files/patch-chrome_browser_ui_webui_chrome__web__ui__controller__factory.cc
@@ -1,4 +1,4 @@
---- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig	2024-06-17 12:56:06 UTC
+--- chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc.orig	2024-06-20 12:56:26 UTC
 +++ chrome/browser/ui/webui/chrome_web_ui_controller_factory.cc
 @@ -196,7 +196,7 @@
  #include "chrome/browser/ui/webui/chromeos/chrome_url_disabled/chrome_url_disabled_ui.h"
@@ -39,7 +39,7 @@
            || url.host_piece() == chrome::kChromeUILinuxProxyConfigHost
  #endif
  #if BUILDFLAG(IS_CHROMEOS_ASH)
-@@ -579,7 +579,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we
+@@ -582,7 +582,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we
    if (url.host_piece() == chrome::kChromeUIMobileSetupHost)
      return &NewWebUI<ash::cellular_setup::MobileSetupUI>;
  #endif  // BUILDFLAG(IS_CHROMEOS_ASH)
@@ -48,7 +48,7 @@
    if (url.host_piece() == chrome::kChromeUIWebUIJsErrorHost)
      return &NewWebUI<WebUIJsErrorUI>;
  #endif
-@@ -635,7 +635,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we
+@@ -638,7 +638,7 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we
    if (url.host_piece() == chrome::kChromeUINaClHost)
      return &NewWebUI<NaClUI>;
  #endif
@@ -57,7 +57,7 @@
       defined(TOOLKIT_VIEWS)) ||                         \
      defined(USE_AURA)
    if (url.host_piece() == chrome::kChromeUITabModalConfirmDialogHost)
-@@ -683,26 +683,26 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we
+@@ -686,26 +686,26 @@ WebUIFactoryFunction GetWebUIFactoryFunction(WebUI* we
    }
  #endif
  #if BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || \
diff --git a/www/chromium/files/patch-ui_ozone_platform_x11_x11__window.cc b/www/chromium/files/patch-ui_ozone_platform_x11_x11__window.cc
index 7202c8cff262..086aa114e75c 100644
--- a/www/chromium/files/patch-ui_ozone_platform_x11_x11__window.cc
+++ b/www/chromium/files/patch-ui_ozone_platform_x11_x11__window.cc
@@ -1,11 +1,11 @@
---- ui/ozone/platform/x11/x11_window.cc.orig	2024-06-17 12:56:06 UTC
+--- ui/ozone/platform/x11/x11_window.cc.orig	2024-06-20 12:56:26 UTC
 +++ ui/ozone/platform/x11/x11_window.cc
-@@ -1493,7 +1493,7 @@ void X11Window::OnXWindowStateChanged() {
+@@ -1495,7 +1495,7 @@ void X11Window::OnXWindowStateChanged() {
    WindowTiledEdges tiled_state = GetTiledState();
    if (tiled_state != tiled_state_) {
      tiled_state_ = tiled_state;
 -#if BUILDFLAG(IS_LINUX)
 +#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
      platform_window_delegate_->OnWindowTiledStateChanged(tiled_state);
+     UpdateDecorationInsets();
  #endif
-   }