mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:07:47 +00:00
LibHTML: Fix broken build after Element::computed_style() change
This commit is contained in:
parent
0d402a074b
commit
1d95e56700
2 changed files with 2 additions and 2 deletions
|
@ -187,5 +187,5 @@ NonnullRefPtr<StyleProperties> Element::computed_style()
|
|||
properties->set_property(id, prop.value());
|
||||
}
|
||||
}
|
||||
return properties.ptr();
|
||||
return properties;
|
||||
}
|
||||
|
|
|
@ -57,7 +57,7 @@ public:
|
|||
String name() const { return attribute("name"); }
|
||||
|
||||
const StyleProperties* resolved_style() const { return m_resolved_style.ptr(); }
|
||||
RefPtr<StyleProperties> computed_style();
|
||||
NonnullRefPtr<StyleProperties> computed_style();
|
||||
|
||||
private:
|
||||
RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) const override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue