|
Get rid of redundant member function PositionAlgorithm<Strategy>::{upstream,downstream}
This patch gets rid of |PositionAlgorithm<Strategy>::{upstream,downstream}| by
replacing them by |most{Forward,Backward}CaretPosition()| to simplify
|PositionAlgorithm<Strategy>| template class for improving code health, since
|PositionAlgorithm<Strategy>::{upstream,downstream}| are simple wrapper
functions.
BUG= 518738
TEST=n/a; no behavior changes
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201016
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+144 lines, -159 lines) |
Patch |
 |
M |
Source/core/editing/EditingStyle.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/EditingUtilities.cpp
|
View
|
1
2
|
8 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/FrameSelection.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/InputMethodController.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/Position.h
|
View
|
1
2
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/Position.cpp
|
View
|
1
2
|
1 chunk |
+0 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/PositionTest.cpp
|
View
|
1
2
|
2 chunks |
+1 line, -30 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/SelectionController.cpp
|
View
|
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisiblePosition.cpp
|
View
|
|
7 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisibleSelection.cpp
|
View
|
|
5 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisibleUnits.cpp
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/VisibleUnitsTest.cpp
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/ApplyBlockElementCommand.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/ApplyStyleCommand.cpp
|
View
|
|
9 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/BreakBlockquoteCommand.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/CompositeEditCommand.cpp
|
View
|
|
9 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/DeleteSelectionCommand.cpp
|
View
|
|
5 chunks |
+11 lines, -11 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/InsertListCommand.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/InsertParagraphSeparatorCommand.cpp
|
View
|
|
4 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/InsertTextCommand.cpp
|
View
|
1
2
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/ReplaceSelectionCommand.cpp
|
View
|
|
6 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/commands/TypingCommand.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/editing/serializers/StyledMarkupSerializer.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/layout/HitTestResult.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/layout/LayoutObject.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/layout/LayoutView.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 22 (13 generated)
|