mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:58:11 +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:
parent
9d72815deb
commit
6fc1810190
8 changed files with 0 additions and 45 deletions
|
@ -23,12 +23,4 @@ void CSSConditionRule::for_each_effective_style_rule(Function<void(CSSStyleRule
|
|||
CSSGroupingRule::for_each_effective_style_rule(callback);
|
||||
}
|
||||
|
||||
bool CSSConditionRule::for_first_not_loaded_import_rule(Function<void(CSSImportRule&)> const& callback)
|
||||
{
|
||||
if (condition_matches())
|
||||
return CSSGroupingRule::for_first_not_loaded_import_rule(callback);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue