mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +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());
|
properties->set_property(id, prop.value());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return properties.ptr();
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,7 +57,7 @@ public:
|
||||||
String name() const { return attribute("name"); }
|
String name() const { return attribute("name"); }
|
||||||
|
|
||||||
const StyleProperties* resolved_style() const { return m_resolved_style.ptr(); }
|
const StyleProperties* resolved_style() const { return m_resolved_style.ptr(); }
|
||||||
RefPtr<StyleProperties> computed_style();
|
NonnullRefPtr<StyleProperties> computed_style();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) const override;
|
RefPtr<LayoutNode> create_layout_node(const StyleProperties* parent_style) const override;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue