Bug 1674931 Part 3 - Add WritingMode argument to SizeComputationInput::ComputedLogicalPadding(), and adapt callers. r=jfkthame
This patch is similar to Part 1, but for ComputedLogicalPadding(). Differential Revision: https://phabricator.services.mozilla.com/D95663
This commit is contained in:
@@ -668,8 +668,7 @@ void nsTextControlFrame::ReflowTextControlChild(
|
||||
// Override padding with our computed padding in case we got it from theming
|
||||
// or percentage.
|
||||
kidReflowInput.Init(aPresContext, Nothing(), Nothing(),
|
||||
Some(aReflowInput.ComputedLogicalPadding().ConvertTo(
|
||||
wm, aReflowInput.GetWritingMode())));
|
||||
Some(aReflowInput.ComputedLogicalPadding(wm)));
|
||||
|
||||
// Set computed width and computed height for the child
|
||||
kidReflowInput.SetComputedWidth(aReflowInput.ComputedWidth());
|
||||
|
||||
Reference in New Issue
Block a user