Revert "Avoid stack-overflow when updating UIHTMLWidget::updateOutOfFlowPosition."

This reverts commit eb2b919354.
This commit is contained in:
Martín Lucas Golini
2026-05-27 21:20:56 -03:00
parent eb2b919354
commit 8a5a7af3e0

View File

@@ -1,4 +1,3 @@
#include <eepp/system/scopedop.hpp>
#include <eepp/ui/css/propertydefinition.hpp>
#include <eepp/ui/css/stylesheetlength.hpp>
#include <eepp/ui/uihtmlwidget.hpp>
@@ -352,12 +351,9 @@ void UIHTMLWidget::positionOutOfFlowChildren() {
}
void UIHTMLWidget::updateOutOfFlowPosition() {
if ( mPacking )
return;
UIWidget* cb = getContainingBlock();
if ( !cb )
return;
BoolScopedOp op( mPacking );
Rectf cbContentOffset = cb->getPixelsContentOffset();
Float cbContentWidth =