summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/CSSGroupingRule.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/CSSGroupingRule.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/CSSGroupingRule.cpp')
-rw-r--r--Userland/Libraries/LibWeb/CSS/CSSGroupingRule.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/CSSGroupingRule.cpp b/Userland/Libraries/LibWeb/CSS/CSSGroupingRule.cpp
index c9e1a2ae58..60584d02c5 100644
--- a/Userland/Libraries/LibWeb/CSS/CSSGroupingRule.cpp
+++ b/Userland/Libraries/LibWeb/CSS/CSSGroupingRule.cpp
@@ -35,9 +35,4 @@ void CSSGroupingRule::for_each_effective_style_rule(Function<void(CSSStyleRule c
m_rules->for_each_effective_style_rule(callback);
}
-bool CSSGroupingRule::for_first_not_loaded_import_rule(Function<void(CSSImportRule&)> const& callback)
-{
- return m_rules->for_first_not_loaded_import_rule(callback);
-}
-
}