|
Consistently use ElementTraversal API when looking for an Element
Consistently use ElementTraversal API when looking for an Element. This often
results in simpler code by getting rid of explicit isElementNode() checks. It
makes it clear we are only interested in Elements and in some cases, allows the
compiler to use faster Element/ContainerNode methods instead of generic Node
ones.
R=adamk, eseidel
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167462
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+98 lines, -101 lines) |
Patch |
|
M |
Source/core/css/RuleFeature.cpp
|
View
|
|
2 chunks |
+7 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Document.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/dom/Node.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLAppletElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLDetailsElement.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLMediaElement.cpp
|
View
|
|
4 chunks |
+13 lines, -13 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLObjectElement.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTableElement.cpp
|
View
|
|
4 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTableRowElement.cpp
|
View
|
|
4 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTableSectionElement.cpp
|
View
|
|
2 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/core/html/track/LoadableTextTrack.cpp
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/svg/ReferenceFilterBuilder.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/svg/RenderSVGResourceClipper.cpp
|
View
|
|
6 chunks |
+18 lines, -18 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/svg/RenderSVGResourceFilter.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/svg/RenderSVGResourceMasker.cpp
|
View
|
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/svg/RenderSVGResourcePattern.cpp
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/svg/SVGAnimateMotionElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/svg/SVGFEMergeElement.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 14 (0 generated)
|