|
Update remaining NodeTraversal / ElementTraversal methods to take references
Update remaining NodeTraversal / ElementTraversal methods to take references in
argument instead of pointers as their implementation assumes the pointers are
non-null. This makes the code look safer.
As a side effect, RenderCounter API was also updated to use more references.
R=adamk
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162040
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+108 lines, -110 lines) |
Patch |
|
M |
Source/core/dom/ElementTraversal.h
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Node.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/dom/NodeTraversal.h
|
View
|
|
3 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/NodeTraversal.cpp
|
View
|
|
2 chunks |
+15 lines, -15 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Text.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/CounterNode.h
|
View
|
1
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/CounterNode.cpp
|
View
|
1
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderCounter.h
|
View
|
1
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderCounter.cpp
|
View
|
1
|
24 chunks |
+60 lines, -63 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderListItem.cpp
|
View
|
1
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/RenderObject.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|