LibWeb+LibJS: Move some code around to make CSS/Parser parse faster

This makes it possible to include fewer full definitions of things,
which makes the file about 30% faster to compile.
This commit is contained in:
Ali Mohammad Pur 2023-07-09 11:40:17 +03:30 committed by Ali Mohammad Pur
commit 06c6c40df9
Notes: sideshowbarker 2024-07-18 22:57:59 +09:00
28 changed files with 117 additions and 64 deletions

View file

@ -44,6 +44,7 @@ public:
bool in_quirks_mode() const;
DOM::Document const* document() const { return m_document; }
HTML::Window const* window() const;
AK::URL complete_url(StringView) const;
PropertyID current_property_id() const { return m_current_property_id; }