mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +00:00
LibHTML: Fix broken build after Element::computed_style() change
This commit is contained in:
parent
0d402a074b
commit
1d95e56700
Notes:
sideshowbarker
2024-07-19 10:19:54 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/1d95e567005
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
Reference in a new issue