summaryrefslogtreecommitdiff
path: root/Userland/Services/WebContent
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-08-07 13:29:49 +0200
committerAndreas Kling <kling@serenityos.org>2022-09-06 00:27:09 +0200
commit5366924f110128cf0846732bb7747ae816ebaab8 (patch)
tree94e3573e1674f99ae64c2e2ba503e9e137c76003 /Userland/Services/WebContent
parent5d60212076f05fd85607e05e1496ad009dcf501b (diff)
downloadserenity-5366924f110128cf0846732bb7747ae816ebaab8.zip
LibWeb: Make StyleSheetList GC-allocated
Diffstat (limited to 'Userland/Services/WebContent')
-rw-r--r--Userland/Services/WebContent/ConnectionFromClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebContent/ConnectionFromClient.cpp b/Userland/Services/WebContent/ConnectionFromClient.cpp
index 2276a0324b..901f56bd33 100644
--- a/Userland/Services/WebContent/ConnectionFromClient.cpp
+++ b/Userland/Services/WebContent/ConnectionFromClient.cpp
@@ -206,7 +206,7 @@ void ConnectionFromClient::debug_request(String const& request, String const& ar
if (request == "dump-style-sheets") {
if (auto* doc = page().top_level_browsing_context().active_document()) {
for (auto& sheet : doc->style_sheets().sheets()) {
- Web::dump_sheet(*sheet);
+ Web::dump_sheet(sheet);
}
}
}