DescriptionAvoid to reuse local variable in ComputeInlineBoxPosition()
This patch chagnes |ComputeInlineBoxPosition()| to avoid to reuse local
variable |equivalent| by introducing two const-variable and another call
site of |ComputeInlineBoxPosition()| to explicitly denotes what value is
used, e.g. |downstream_equivalent| or |upstream_equivalent|, for improving
code health.
BUG=707656
TEST=n/a; no behavior changes
Review-Url: https://codereview.chromium.org/2933513002
Cr-Commit-Position: refs/heads/master@{#478543}
Committed: https://chromium.googlesource.com/chromium/src/+/f8f46de2517307a1a0c72f1c41b72594e21028d3
Patch Set 1 #
Messages
Total messages: 13 (9 generated)
|