summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2021-11-18 17:53:03 +0000
committerAndreas Kling <kling@serenityos.org>2021-11-18 21:11:19 +0100
commit6fc1810190f05fddc296a5b56e15ee7cf0a2863c (patch)
treebe6633c05afd06f5d2a766b254b1b28f2c9d00e8 /Userland/Libraries/LibWeb/CSS/CSSConditionRule.cpp
parent9d72815deba7ad31c4261889b77f0643680e32c2 (diff)
downloadserenity-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.cpp8
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;
-}
-
}