Bug 1914661 Part 3 - Add ReflowInput::SetBResizeForPercentages(). r=dholbert
We have `SetBResize()`, so it would be useful to add a method to set `mIsBResizeForPercentages` flag for consistency. Differential Revision: https://phabricator.services.mozilla.com/D220023
This commit is contained in:
@@ -898,7 +898,7 @@ void ScrollContainerFrame::ReflowScrolledFrame(ScrollReflowInput& aState,
|
||||
kidReflowInput.SetBResize(true);
|
||||
}
|
||||
if (aState.mReflowInput.IsBResizeForPercentagesForWM(kidWM)) {
|
||||
kidReflowInput.mFlags.mIsBResizeForPercentages = true;
|
||||
kidReflowInput.SetBResizeForPercentages(true);
|
||||
}
|
||||
|
||||
// Temporarily set mHasHorizontalScrollbar/mHasVerticalScrollbar to
|
||||
|
||||
Reference in New Issue
Block a user