mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Remove Document.h include from Layout/Viewport.h
Move the inline dom_node() method to Viewport.cpp so the header no longer needs the full Document definition. Add explicit includes to files that relied on the transitive dependency.
This commit is contained in:
committed by
Alexander Kalenik
parent
edf42ec9f9
commit
b41ed92505
Notes:
github-actions[bot]
2026-02-08 17:52:23 +00:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/LadybirdBrowser/ladybird/commit/b41ed92505b Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7826
@@ -5,6 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <AK/Debug.h>
|
||||
#include <LibWeb/DOM/Document.h>
|
||||
#include <LibWeb/HTML/Navigable.h>
|
||||
#include <LibWeb/HTML/NavigableContainer.h>
|
||||
#include <LibWeb/Layout/NavigableContainerViewport.h>
|
||||
|
||||
Reference in New Issue
Block a user