mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
LibWeb: Remove reference counting for CSS::StyleProperties
`AK::CopyOnWrite` already does reference counting, so there is no need to do it again.
This commit is contained in:
committed by
Andreas Kling
parent
e636f3976d
commit
07cd7d479f
@@ -16,7 +16,7 @@ namespace Web::Layout {
|
||||
|
||||
JS_DEFINE_ALLOCATOR(InlineNode);
|
||||
|
||||
InlineNode::InlineNode(DOM::Document& document, DOM::Element* element, NonnullRefPtr<CSS::StyleProperties> style)
|
||||
InlineNode::InlineNode(DOM::Document& document, DOM::Element* element, CSS::StyleProperties style)
|
||||
: Layout::NodeWithStyleAndBoxModelMetrics(document, element, move(style))
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user