mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 13:49:16 +00:00
LibWeb: Return CSSStyleProperties as a GC::Ref
This commit is contained in:
parent
9b06f66571
commit
2d220a8bbc
Notes:
github-actions[bot]
2025-03-19 13:53:59 +00:00
Author: https://github.com/AtkinsSJ
Commit: 2d220a8bbc
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3983
5 changed files with 6 additions and 6 deletions
|
@ -43,7 +43,7 @@ void CSSStyleRule::visit_edges(Cell::Visitor& visitor)
|
|||
}
|
||||
|
||||
// https://drafts.csswg.org/cssom-1/#dom-cssstylerule-style
|
||||
CSSStyleProperties* CSSStyleRule::style()
|
||||
GC::Ref<CSSStyleProperties> CSSStyleRule::style()
|
||||
{
|
||||
return m_declaration;
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
String selector_text() const;
|
||||
void set_selector_text(StringView);
|
||||
|
||||
CSSStyleProperties* style();
|
||||
GC::Ref<CSSStyleProperties> style();
|
||||
|
||||
[[nodiscard]] FlyString const& qualified_layer_name() const { return parent_layer_internal_qualified_name(); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue