Skip to content
Snippets Groups Projects
Commit 4b20ea11 authored by Ting-Yu Lin's avatar Ting-Yu Lin
Browse files

Bug 1790312 Part 2 - Remove flex item's normal position snapshot in ReflowChildren(). r=dholbert

ReflowChildren() only cares about the flex item's normal position, so we don't
need to output the relative position from `MoveFlexItemToFinalPosition()`.

By making `aFramePos` const for `MoveFlexItemToFinalPosition`, we can delete
`itemNormalBPos` because `framePos` cannot be changed after calling
`MoveFlexItemToFinalPosition`.

This patch shouldn't change the behavior.

Differential Revision: https://phabricator.services.mozilla.com/D157079
parent 19e8ae9b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment