summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibHTML/DOM/Element.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibHTML/DOM/Element.cpp b/Libraries/LibHTML/DOM/Element.cpp
index 013e0f5699..c0e769efe1 100644
--- a/Libraries/LibHTML/DOM/Element.cpp
+++ b/Libraries/LibHTML/DOM/Element.cpp
@@ -163,7 +163,7 @@ void Element::recompute_style()
}
}
-RefPtr<StyleProperties> Element::computed_style()
+NonnullRefPtr<StyleProperties> Element::computed_style()
{
auto properties = m_resolved_style->clone();
if (layout_node() && layout_node()->has_style()) {