summaryrefslogtreecommitdiff
path: root/Userland/Services
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2022-08-07 13:14:54 +0200
committerAndreas Kling <kling@serenityos.org>2022-09-06 00:27:09 +0200
commit5d60212076f05fd85607e05e1496ad009dcf501b (patch)
treef14e5cf5e08624aad9ea01ea99d0cc618ff1ac39 /Userland/Services
parent0fe923e35580ce1745f47c0d812ce7689ae84063 (diff)
downloadserenity-5d60212076f05fd85607e05e1496ad009dcf501b.zip
LibWeb: Make StyleSheet and CSSStyleSheet GC-allocated
Diffstat (limited to 'Userland/Services')
-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 901f56bd33..2276a0324b 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);
}
}
}