From ea81470fc01ae4141a6bdaea10be014adaa6e93d Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Fri, 1 Dec 2023 15:17:31 -0500 Subject: [PATCH] WebContent: Remove a bunch of unused includes from PageHost Mostly just to narrow down where HAS_ACCELERATED_GRAPHICS is used, to make it easier to see where it needs to be defined by the build system. --- Userland/Services/WebContent/PageHost.cpp | 21 +++------------------ Userland/Services/WebContent/PageHost.h | 9 +++------ 2 files changed, 6 insertions(+), 24 deletions(-) diff --git a/Userland/Services/WebContent/PageHost.cpp b/Userland/Services/WebContent/PageHost.cpp index b61d4bbd99..b9bb5e7e51 100644 --- a/Userland/Services/WebContent/PageHost.cpp +++ b/Userland/Services/WebContent/PageHost.cpp @@ -6,27 +6,12 @@ * SPDX-License-Identifier: BSD-2-Clause */ -#include "PageHost.h" -#include "ConnectionFromClient.h" -#include "PageClient.h" -#include -#include -#include -#include -#include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include #include -#ifdef HAS_ACCELERATED_GRAPHICS -# include -#endif - namespace WebContent { PageHost::PageHost(ConnectionFromClient& client) diff --git a/Userland/Services/WebContent/PageHost.h b/Userland/Services/WebContent/PageHost.h index 0dc3c6bbba..9f58e546f2 100644 --- a/Userland/Services/WebContent/PageHost.h +++ b/Userland/Services/WebContent/PageHost.h @@ -8,16 +8,13 @@ #pragma once -#include -#include -#include -#include +#include +#include +#include #include namespace WebContent { -class ConnectionFromClient; - class PageHost { AK_MAKE_NONCOPYABLE(PageHost); AK_MAKE_NONMOVABLE(PageHost);