summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Layout/CanvasBox.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-10 08:25:35 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-10 09:13:29 +0100
commit794ebb699c72e0e2768b7a6380c963150183daa0 (patch)
tree52ea74a21b8075c36a793875cd85ebe5ee58f42d /Userland/Libraries/LibWeb/Layout/CanvasBox.cpp
parent548f8a06440b10c73d522c3131035bfe2ae9ccaf (diff)
downloadserenity-794ebb699c72e0e2768b7a6380c963150183daa0.zip
LibWeb: Remove low-hanging LibGUI fruit from LibWeb
We'll want to remove the LibGUI dependency from the WebContent process. This is the first basic step of removing unnecessary LibGUI includes and swapping out GUI::Painter for Gfx::Painter.
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/CanvasBox.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Layout/CanvasBox.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/CanvasBox.cpp b/Userland/Libraries/LibWeb/Layout/CanvasBox.cpp
index 8eb3c7298d..3d68f88aeb 100644
--- a/Userland/Libraries/LibWeb/Layout/CanvasBox.cpp
+++ b/Userland/Libraries/LibWeb/Layout/CanvasBox.cpp
@@ -24,8 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include <LibGUI/Painter.h>
-#include <LibGfx/StylePainter.h>
+#include <LibGfx/Painter.h>
#include <LibWeb/Layout/CanvasBox.h>
namespace Web::Layout {