1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:38:10 +00:00

LibWeb: Remove for_first_not_loaded_import_rule() :^)

This was only used for making sure `@import` rules got loaded, and since
they handle that themselves now, we can get rid of all this code!
This commit is contained in:
Sam Atkins 2021-11-18 17:53:03 +00:00 committed by Andreas Kling
parent 9d72815deb
commit 6fc1810190
8 changed files with 0 additions and 45 deletions

View file

@ -62,11 +62,6 @@ void CSSStyleSheet::for_each_effective_style_rule(Function<void(CSSStyleRule con
m_rules->for_each_effective_style_rule(callback);
}
bool CSSStyleSheet::for_first_not_loaded_import_rule(Function<void(CSSImportRule&)> const& callback)
{
return m_rules->for_first_not_loaded_import_rule(callback);
}
void CSSStyleSheet::evaluate_media_queries(DOM::Window const& window)
{
m_rules->evaluate_media_queries(window);