|
|
Get 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
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+55 lines, -67 lines) |
Patch |
 |
M |
Source/core/dom/Position.h
|
View
|
|
5 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/Position.cpp
|
View
|
|
7 chunks |
+11 lines, -22 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/ApplyStyleCommand.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/EditingTestBase.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/FrameSelection.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/TypingCommand.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisibleSelectionTest.cpp
|
View
|
|
4 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisibleUnits.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisibleUnitsTest.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/iterators/TextIterator.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/iterators/TextIteratorTest.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTextFormControlElement.cpp
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTextFormControlElementTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/accessibility/AXLayoutObject.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/web/WebFrameWidgetImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/web/WebViewImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 6 (2 generated)
|