|
Detemplatize cc property nodes
Property nodes used to be instantiation of TreeNode<T> template with different
payload. There is little gain from it (deduplicate 500 bytes of code for 3
times), while made us to type "->data." a few hundred times.
Also this extra level of indirection adds invisible mental overheads.
This CL detemplatizes TreeNode<T> and flatten the payload to the node.
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/dba8b150955e55508ca018ab721c14dba1374fd3
Cr-Commit-Position: refs/heads/master@{#404339}
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1972 lines, -1809 lines) |
Patch |
|
M |
cc/BUILD.gn
|
View
|
1
2
3
4
5
6
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/cc.gyp
|
View
|
|
3 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/input/scroll_state.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
cc/input/scroll_state_data.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/input/scroll_state_unittest.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
cc/layers/layer.cc
|
View
|
1
2
3
4
5
6
|
14 chunks |
+29 lines, -29 lines |
0 comments
|
Download
|
|
M |
cc/layers/layer_impl.cc
|
View
|
|
18 chunks |
+40 lines, -37 lines |
0 comments
|
Download
|
|
M |
cc/layers/layer_unittest.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
cc/layers/layer_utils.cc
|
View
|
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
|
M |
cc/layers/render_surface_impl.cc
|
View
|
|
4 chunks |
+14 lines, -13 lines |
0 comments
|
Download
|
|
M |
cc/layers/scrollbar_layer_unittest.cc
|
View
|
|
5 chunks |
+8 lines, -6 lines |
0 comments
|
Download
|
|
M |
cc/layers/viewport.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
cc/trees/clip_node.h
|
View
|
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
|
A |
cc/trees/clip_node.cc
|
View
|
|
1 chunk |
+111 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/trees/draw_property_utils.cc
|
View
|
1
2
3
4
|
48 chunks |
+174 lines, -186 lines |
0 comments
|
Download
|
|
A |
cc/trees/effect_node.h
|
View
|
1
2
3
4
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
|
A |
cc/trees/effect_node.cc
|
View
|
1
2
3
4
|
1 chunk |
+141 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_common.cc
|
View
|
|
6 chunks |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_common_unittest.cc
|
View
|
1
|
18 chunks |
+77 lines, -77 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
6
|
15 chunks |
+24 lines, -23 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
5
6
|
9 chunks |
+15 lines, -13 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
3
4
5
6
|
5 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_unittest_animation.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_unittest_scroll.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_impl.cc
|
View
|
1
|
6 chunks |
+21 lines, -18 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_impl_unittest.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
cc/trees/property_tree.h
|
View
|
1
2
3
4
|
5 chunks |
+18 lines, -291 lines |
0 comments
|
Download
|
|
M |
cc/trees/property_tree.cc
|
View
|
1
2
3
4
5
6
|
40 chunks |
+177 lines, -763 lines |
0 comments
|
Download
|
|
M |
cc/trees/property_tree_builder.cc
|
View
|
|
15 chunks |
+93 lines, -93 lines |
0 comments
|
Download
|
|
M |
cc/trees/property_tree_unittest.cc
|
View
|
1
2
3
4
|
30 chunks |
+138 lines, -178 lines |
0 comments
|
Download
|
|
A |
cc/trees/scroll_node.h
|
View
|
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
|
A |
cc/trees/scroll_node.cc
|
View
|
|
1 chunk |
+127 lines, -0 lines |
0 comments
|
Download
|
|
A |
cc/trees/transform_node.h
|
View
|
|
1 chunk |
+168 lines, -0 lines |
0 comments
|
Download
|
|
A |
cc/trees/transform_node.cc
|
View
|
|
1 chunk |
+271 lines, -0 lines |
0 comments
|
Download
|
|
M |
cc/trees/tree_synchronizer_unittest.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+8 lines, -7 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.cpp
|
View
|
1
2
3
4
5
6
|
5 chunks |
+18 lines, -15 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositorTest.cpp
|
View
|
1
2
3
4
5
6
|
5 chunks |
+22 lines, -21 lines |
0 comments
|
Download
|
|
M |
ui/gfx/transform.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 37 (19 generated)
|