summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Varga <pvarga@inf.u-szeged.hu>2025-10-22 14:34:00 +0200
committerPeter Varga <pvarga@inf.u-szeged.hu>2025-10-27 10:41:18 +0200
commitfd57d5c44fa3a8d68f9d2c3fc829dd2f785c7949 (patch)
tree8c244457c73915bf742a2e779acbb48e3875104a
parent523f6e7fe306566c7208926059ed3ffabe5cabd4 (diff)
Remove leftover includes and declarations related to GPU thread
Change-Id: Ie5ef6fe262990ab3a93fe1384d37227fbc1e6ab0 Reviewed-by: Moss Heim <moss.heim@qt.io>
-rw-r--r--src/core/compositor/native_skia_output_device.h1
-rw-r--r--src/core/content_main_delegate_qt.cpp6
-rw-r--r--src/core/web_engine_context.h6
3 files changed, 0 insertions, 13 deletions
diff --git a/src/core/compositor/native_skia_output_device.h b/src/core/compositor/native_skia_output_device.h
index a405f6684..8ac189b0a 100644
--- a/src/core/compositor/native_skia_output_device.h
+++ b/src/core/compositor/native_skia_output_device.h
@@ -11,7 +11,6 @@
#include "components/viz/service/display_embedder/skia_output_device.h"
#include "gpu/command_buffer/service/shared_context_state.h"
#include "gpu/command_buffer/service/shared_image/shared_image_representation.h"
-#include "gpu/config/gpu_preferences.h"
#include <QMutex>
diff --git a/src/core/content_main_delegate_qt.cpp b/src/core/content_main_delegate_qt.cpp
index 1512f9a47..063a14a03 100644
--- a/src/core/content_main_delegate_qt.cpp
+++ b/src/core/content_main_delegate_qt.cpp
@@ -12,7 +12,6 @@
#include "base/path_service.h"
#include "base/strings/string_number_conversions.h"
#include "chrome/grit/generated_resources.h"
-#include "content/public/browser/browser_main_runner.h"
#include "content/public/common/content_paths.h"
#include "content/public/common/content_switches.h"
#include "ui/base/l10n/l10n_util.h"
@@ -27,7 +26,6 @@
#include "content_client_qt.h"
#include "renderer/content_renderer_client_qt.h"
#include "type_conversion.h"
-#include "web_engine_context.h"
#include "web_engine_library_info.h"
#if defined(ARCH_CPU_ARM_FAMILY) && (BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_LINUX))
@@ -51,10 +49,6 @@
#include <QtCore/qcoreapplication.h>
-namespace content {
-ContentClient *GetContentClient();
-}
-
namespace QtWebEngineCore {
namespace {
diff --git a/src/core/web_engine_context.h b/src/core/web_engine_context.h
index cf83687f0..c20e7383d 100644
--- a/src/core/web_engine_context.h
+++ b/src/core/web_engine_context.h
@@ -23,8 +23,6 @@ class FieldTrialList;
namespace content {
class BrowserMainRunner;
class ContentMainRunner;
-class GpuThreadController;
-class InProcessChildThreadParams;
class MojoIpcSupport;
}
@@ -32,10 +30,6 @@ namespace discardable_memory {
class DiscardableSharedMemoryManager;
}
-namespace gpu {
-struct GpuPreferences;
-}
-
#if QT_CONFIG(webengine_printing_and_pdf)
namespace printing {
class PrintJobManager;