|
cc: Remove FakeThread, use SingleThreadTaskRunner in scheduling classes.
This changes from using cc::Thread to base::SingleThreadTaskRunner in
FrameRateController, DelayBasedTimeSource, and ResourceUpdateController.
Then all unit tests for these classes are switched from using
cc::FakeThread to base::TestSimpleTaskRunner.
This is a step toward deleting cc::Thread and moving to using
MessageLoopProxy directly in cc.
R=piman
BUG= 251134
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207027
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+302 lines, -285 lines) |
Patch |
 |
M |
base/test/test_simple_task_runner.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/test/test_simple_task_runner.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/base/thread.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/base/thread_impl.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
cc/base/thread_impl.cc
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cc/layers/tiled_layer_unittest.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.h
|
View
|
1
2
|
3 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/output/output_surface_unittest.cc
|
View
|
1
2
|
6 chunks |
+14 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/resources/resource_update_controller.h
|
View
|
|
4 chunks |
+6 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/resources/resource_update_controller.cc
|
View
|
|
5 chunks |
+8 lines, -5 lines |
0 comments
|
Download
|
 |
M |
cc/resources/resource_update_controller_unittest.cc
|
View
|
|
14 chunks |
+44 lines, -32 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/delay_based_time_source.h
|
View
|
|
3 chunks |
+9 lines, -6 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/delay_based_time_source.cc
|
View
|
|
4 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/delay_based_time_source_unittest.cc
|
View
|
|
3 chunks |
+122 lines, -103 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/frame_rate_controller.h
|
View
|
1
2
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/frame_rate_controller.cc
|
View
|
1
2
|
4 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
M |
cc/scheduler/frame_rate_controller_unittest.cc
|
View
|
1
2
|
9 chunks |
+29 lines, -25 lines |
0 comments
|
Download
|
 |
M |
cc/test/scheduler_test_common.h
|
View
|
1
2
|
1 chunk |
+6 lines, -38 lines |
0 comments
|
Download
|
 |
M |
cc/test/scheduler_test_common.cc
|
View
|
1
2
|
1 chunk |
+0 lines, -25 lines |
0 comments
|
Download
|
 |
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/trees/single_thread_proxy.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/trees/thread_proxy.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|