LibGfx+LibWeb: Fix compile errors in clang-cl from recent header cleanup

The recent commits 28ba610f32 and
70c4ed261f adjusted some include
directives to avoid excessive recompilation when changing some header
files. This has broken compilation with clang-cl on Windows without
getting noticed before the PRs were merged.
This commit is contained in:
InvalidUsernameException 2025-11-29 10:16:38 +01:00 committed by Tim Flynn
parent 0eceee0a05
commit ce2c4a3417
Notes: github-actions[bot] 2025-11-30 13:46:40 +00:00
5 changed files with 8 additions and 2 deletions

View file

@ -13,6 +13,7 @@
#include <LibWeb/CSS/URL.h>
#include <LibWeb/DOM/DocumentLoadEventDelayer.h>
#include <LibWeb/Export.h>
#include <LibWeb/Forward.h>
namespace Web::CSS {
@ -24,7 +25,7 @@ class WEB_API CSSImportRule final
public:
[[nodiscard]] static GC::Ref<CSSImportRule> create(JS::Realm&, URL, GC::Ptr<DOM::Document>, RefPtr<Supports>, Vector<NonnullRefPtr<MediaQuery>>);
virtual ~CSSImportRule() = default;
virtual ~CSSImportRule();
URL const& url() const { return m_url; }
String href() const { return m_url.url(); }