|
Have NodeTraversal::previous*() take a reference
Have NodeTraversal::previous*() take a reference in argument instead of a
pointer as the implementation expects the pointer to be non-null. This
makes the code look safer and is consistent with NodeTraversal::next().
R=adamk
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=161861
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+70 lines, -66 lines) |
Patch |
|
M |
Source/core/dom/ElementTraversal.h
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/NodeIterator.cpp
|
View
|
|
4 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/NodeTraversal.h
|
View
|
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/NodeTraversal.cpp
|
View
|
|
3 chunks |
+28 lines, -28 lines |
0 comments
|
Download
|
|
M |
Source/core/editing/ApplyStyleCommand.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/editing/ReplaceSelectionCommand.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/editing/VisibleUnits.cpp
|
View
|
|
2 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLCollection.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/forms/RadioInputType.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/page/FocusController.cpp
|
View
|
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderCounter.cpp
|
View
|
|
2 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderListItem.cpp
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/xml/XPathStep.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|