mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-18 18:00:31 +00:00
LibWeb: Reduce recompilation impact of DOM/Document.h
Remove 11 heavy includes from Document.h that were only needed for pointer/reference types (already forward-declared in Forward.h), and extract the nested ViewportClient interface to a standalone header. This reduces Document.h's recompilation cascade from ~1228 files to ~717 files (42% reduction). Headers like BrowsingContext.h that were previously transitively included see even larger improvements (from ~1228 down to ~73 dependents).
This commit is contained in:
parent
074a12f6e5
commit
901cc28272
Notes:
github-actions[bot]
2026-02-11 19:03:56 +00:00
Author: https://github.com/kalenikaliaksandr
Commit: 901cc28272
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7894
86 changed files with 141 additions and 27 deletions
|
|
@ -10,6 +10,7 @@
|
|||
#include <AK/Utf16View.h>
|
||||
#include <LibWeb/Bindings/HTMLTextAreaElementPrototype.h>
|
||||
#include <LibWeb/Bindings/Intrinsics.h>
|
||||
#include <LibWeb/CSS/CSSStyleProperties.h>
|
||||
#include <LibWeb/CSS/ComputedProperties.h>
|
||||
#include <LibWeb/CSS/StyleValues/DisplayStyleValue.h>
|
||||
#include <LibWeb/CSS/StyleValues/LengthStyleValue.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue