summaryrefslogtreecommitdiff
path: root/libs/litehtml/src/flex_item.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/litehtml/src/flex_item.cpp')
-rw-r--r--libs/litehtml/src/flex_item.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/litehtml/src/flex_item.cpp b/libs/litehtml/src/flex_item.cpp
index 8eb66847e5..b117c22415 100644
--- a/libs/litehtml/src/flex_item.cpp
+++ b/libs/litehtml/src/flex_item.cpp
@@ -170,7 +170,7 @@ void litehtml::flex_item_row_direction::direction_specific_init(const litehtml::
{
case flex_basis_auto:
base_size = el->css().get_width().calc_percent(self_size.render_width) +
- el->content_offset_width();
+ el->render_offset_width();
break;
case flex_basis_fit_content:
case flex_basis_content: