qtwebengine: add chromium patch

Add submitted chromium patch to fix CI integration
issue.

Change-Id: I9e56137722c0753406039968efa73e03c65df64e
Reviewed-by: Tarja Sundqvist <tarja.sundqvist@qt.io>
This commit is contained in:
Mikko Gronoff 2025-07-03 14:10:26 +03:00
parent 5fe66403f8
commit 8a996419e0
2 changed files with 30 additions and 0 deletions

View File

@ -44,5 +44,6 @@ SRC_URI += " \
file://chromium/0001-v8-qemu-wrapper.patch;patchdir=src/3rdparty \
file://chromium/0002-Remove-the-GN-settings-done-for-clang-that-conflict-.patch;patchdir=src/3rdparty \
file://chromium/0003-Do-not-build-webnn-with-xnnpack.patch;patchdir=src/3rdparty \
file://chromium/0004-Fix-compilation-in-ci-with-lastest-security-patches.patch;patchdir=src/3rdparty \
"
SRCREV_FORMAT = "qtwebengine_qtwebengine-chromium"

View File

@ -0,0 +1,29 @@
From 476155e39ec420f23f087a4257d7356071351c2a Mon Sep 17 00:00:00 2001
From: Michal Klocek <michal.klocek@qt.io>
Date: Thu, 3 Jul 2025 10:34:21 +0200
Subject: [PATCH] Fix compilation in ci with lastest security patches
Add missing header.
Deals with:
"blink/renderer/core/workers/worker_thread.cc:301:28:
error: 'kWorkerThreadSequentialShutdown' is not a member of 'blink::features'"
Change-Id: Ic85ea4329c6c82c59044b2d8e8033913823148aa
Upstream-Status: Submitted
---
.../third_party/blink/renderer/core/workers/worker_thread.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/chromium/third_party/blink/renderer/core/workers/worker_thread.cc b/chromium/third_party/blink/renderer/core/workers/worker_thread.cc
index cb50e1ceca3..f53d4c28a58 100644
--- a/chromium/third_party/blink/renderer/core/workers/worker_thread.cc
+++ b/chromium/third_party/blink/renderer/core/workers/worker_thread.cc
@@ -35,6 +35,7 @@
#include "base/synchronization/waitable_event.h"
#include "base/task/single_thread_task_runner.h"
#include "base/threading/thread_restrictions.h"
+#include "third_party/blink/public/common/features.h"
#include "third_party/blink/public/common/loader/worker_main_script_load_parameters.h"
#include "third_party/blink/public/mojom/frame/lifecycle.mojom-shared.h"
#include "third_party/blink/public/platform/platform.h"