tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

commit c687c2137862b6a76156c9cff6d7e9f3bf76ac64
parent 298bf96b4060eda1025742ddec94e44e1ff926d6
Author: Ting-Yu Lin <tlin@mozilla.com>
Date:   Mon,  8 Dec 2025 17:10:53 +0000

Bug 1985982 - Remove unnecessary SetComputedLogicalOffsets() in ResolveAutoMarginsAfterLayout(). r=layout-reviewers,emilio

`aOffsets` is not changed in `ResolveAutoMarginsAfterLayout()`, so no need to
set it.

Differential Revision: https://phabricator.services.mozilla.com/D275370

Diffstat:
Mlayout/generic/AbsoluteContainingBlock.cpp | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/layout/generic/AbsoluteContainingBlock.cpp b/layout/generic/AbsoluteContainingBlock.cpp @@ -1018,7 +1018,6 @@ void AbsoluteContainingBlock::ResolveAutoMarginsAfterLayout( } aKidReflowInput.SetComputedLogicalMargin(outerWM, aMargin); - aKidReflowInput.SetComputedLogicalOffsets(outerWM, aOffsets); nsMargin* propValue = aKidReflowInput.mFrame->GetProperty(nsIFrame::UsedMarginProperty());