diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/Layout/TableCellBox.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Layout/TableCellBox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Layout/TableCellBox.cpp b/Userland/Libraries/LibWeb/Layout/TableCellBox.cpp index 4ded320186..761253794a 100644 --- a/Userland/Libraries/LibWeb/Layout/TableCellBox.cpp +++ b/Userland/Libraries/LibWeb/Layout/TableCellBox.cpp @@ -28,7 +28,7 @@ size_t TableCellBox::colspan() const { if (!dom_node()) return 1; - return downcast<DOM::Element>(*dom_node()).attribute(HTML::AttributeNames::colspan).to_uint().value_or(1); + return verify_cast<DOM::Element>(*dom_node()).attribute(HTML::AttributeNames::colspan).to_uint().value_or(1); } float TableCellBox::width_of_logical_containing_block() const |