Simplify LayoutBox::ComputeLogicalWidth's replaced logical width setup

No need to create a temporary Length here, just use a LayoutUnit. We
can also fold the call to ComputeReplacedLogicalWidth() into the two
points that use it.

Change-Id: I0f5ca8c02ab79f3fb126c77acee83751f06202a1
Commit-Queue: Fredrik Söderquist <>
Commit-Queue: Morten Stenshorne <>
Reviewed-by: Morten Stenshorne <>
Cr-Commit-Position: refs/heads/master@{#623210}
1 file changed