diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2021-11-18 17:53:03 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-18 21:11:19 +0100 |
commit | 6fc1810190f05fddc296a5b56e15ee7cf0a2863c (patch) | |
tree | be6633c05afd06f5d2a766b254b1b28f2c9d00e8 /Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp | |
parent | 9d72815deba7ad31c4261889b77f0643680e32c2 (diff) | |
download | serenity-6fc1810190f05fddc296a5b56e15ee7cf0a2863c.zip |
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!
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp b/Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp index 35b16b5dd7..018315bd21 100644 --- a/Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp +++ b/Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp @@ -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; -} - } |