DescriptionGet rid of redundant parameter PositionIsOffsetInAnchor from PositionAlgorithm constructor
This patch gets rid of redundant parameter |PositionIsOffsetInAnchor| from
three parameters version of |PositionAlgorithm<Strategy>| constructor, which
takes anchor node, offset, and anchor type, to simplify call sites for improving
code health, since position objects which anchor type are other than
|PositionIsOffsetInAnchor| are constructed by two parameters version of
constructor which takes anchor node and anchor type.
BUGS=n/a
TEST=n/a; no behavior change
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197891
Patch Set 1 #Messages
Total messages: 6 (2 generated)
|