|
cc: Clean up root_layer code in LTI
This CL :
1) Stop setting root_layer in
LTI::SetRootLayerForLayerList and renames it to
OnCanDrawStateChangedForTree.
2) Add a new LTI::SetRootLayerForLayerListForTesting
3) Make LTI::root_layer() return layer_list[0]
4) Rename : root_layer_ -> root_layer_for_testing_,
SetRootLayer -> SetRootLayerForTesting,
root_layer() -> root_layer_for_testing()
BUG= 602438
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/bf1875afad559e02cb26093ccbba79bbcfa9fcac
Cr-Commit-Position: refs/heads/master@{#402390}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+545 lines, -470 lines) |
Patch |
 |
M |
cc/input/scrollbar_animation_controller_linear_fade_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/input/scrollbar_animation_controller_thinning_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/heads_up_display_layer_impl_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/layer_impl_unittest.cc
|
View
|
1
2
3
4
|
5 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_iterator_unittest.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_list_iterator_unittest.cc
|
View
|
1
2
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/layers/layer_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/layer_utils_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl_perftest.cc
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/layers/picture_layer_unittest.cc
|
View
|
1
2
3
4
|
6 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
 |
M |
cc/layers/render_surface_impl_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layers/render_surface_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layers/video_layer_impl_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/fake_layer_tree_host.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/test/fake_layer_tree_host_impl.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/test/layer_test_common.h
|
View
|
1
2
3
|
6 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_test_common.cc
|
View
|
1
2
3
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_json_parser_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/test/test_layer_tree_host_base.cc
|
View
|
1
2
3
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/tiles/tile_manager_unittest.cc
|
View
|
1
2
5
6
7
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/damage_tracker_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common_perftest.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_common_unittest.cc
|
View
|
1
2
3
4
|
135 chunks |
+137 lines, -136 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
|
74 chunks |
+120 lines, -103 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest.cc
|
View
|
1
2
3
4
|
13 chunks |
+55 lines, -34 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_animation.cc
|
View
|
1
2
3
4
|
6 chunks |
+10 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_context.cc
|
View
|
1
2
3
5
6
7
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_copyrequest.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_damage.cc
|
View
|
1
2
3
|
5 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_occlusion.cc
|
View
|
1
2
3
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_picture.cc
|
View
|
1
2
3
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_scroll.cc
|
View
|
1
2
3
|
5 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_unittest_video.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.h
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl.cc
|
View
|
1
2
3
4
5
|
6 chunks |
+16 lines, -13 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_impl_unittest.cc
|
View
|
1
2
3
|
38 chunks |
+61 lines, -46 lines |
0 comments
|
Download
|
 |
M |
cc/trees/occlusion_tracker_unittest.cc
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/trees/tree_synchronizer.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/tree_synchronizer_unittest.cc
|
View
|
1
2
3
|
17 chunks |
+23 lines, -17 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/graphics/CompositorMutableStateTest.cpp
|
View
|
1
2
3
|
4 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 30 (17 generated)
|