summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Page
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-01-21 20:55:37 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-22 21:49:54 +0100
commit67cda61b7f63935032b4e946f908df038ac51ff9 (patch)
tree86a0991d8461c0921ca0cd2725b8591216ca141f /Userland/Libraries/LibWeb/Page
parent1e7adf5cb632331fca3532342a18a190325d6746 (diff)
downloadserenity-67cda61b7f63935032b4e946f908df038ac51ff9.zip
Libraries: Add missing headers
A C++ source file containing just #include <LibFoo/Bar.h> should always compile cleanly. This patch adds missing header inclusions that could have caused weird error messages if they were used in a different context. Also, this confused QtCreator.
Diffstat (limited to 'Userland/Libraries/LibWeb/Page')
-rw-r--r--Userland/Libraries/LibWeb/Page/EditEventHandler.h1
-rw-r--r--Userland/Libraries/LibWeb/Page/EventHandler.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Page/EditEventHandler.h b/Userland/Libraries/LibWeb/Page/EditEventHandler.h
index 67edb9eff0..015c6d81e9 100644
--- a/Userland/Libraries/LibWeb/Page/EditEventHandler.h
+++ b/Userland/Libraries/LibWeb/Page/EditEventHandler.h
@@ -26,6 +26,7 @@
#pragma once
+#include <AK/Types.h>
#include <LibWeb/Forward.h>
namespace Web {
diff --git a/Userland/Libraries/LibWeb/Page/EventHandler.h b/Userland/Libraries/LibWeb/Page/EventHandler.h
index 7ea12d6461..cc1cc19ade 100644
--- a/Userland/Libraries/LibWeb/Page/EventHandler.h
+++ b/Userland/Libraries/LibWeb/Page/EventHandler.h
@@ -27,6 +27,7 @@
#pragma once
#include <AK/Forward.h>
+#include <AK/NonnullOwnPtr.h>
#include <AK/WeakPtr.h>
#include <Kernel/API/KeyCode.h>
#include <LibGUI/Forward.h>