mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:18:12 +00:00
LibWeb: Make StyleSheetList GC-allocated
This commit is contained in:
parent
5d60212076
commit
5366924f11
14 changed files with 68 additions and 37 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue