|
Use WeakPtr for posting cc tasks to main thread
This gets rid of cc::ScopedThreadProxy in favor of using base::WeakPtr everywhere.
The semantics (should be) unchanged, the main benefit is getting rid of base::Unretained(this)
everywhere in cc.
BUG=
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=174891
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+31 lines, -147 lines) |
Patch |
 |
M |
cc/cc.gyp
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
cc/layer_tree_host_unittest_animation.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
D |
cc/scoped_thread_proxy.h
|
View
|
|
1 chunk |
+0 lines, -54 lines |
0 comments
|
Download
|
 |
D |
cc/scoped_thread_proxy.cc
|
View
|
|
1 chunk |
+0 lines, -44 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_test_common.h
|
View
|
1
2
|
6 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
 |
M |
cc/test/layer_tree_test_common.cc
|
View
|
1
2
|
5 chunks |
+13 lines, -26 lines |
0 comments
|
Download
|
 |
M |
cc/thread_proxy.h
|
View
|
1
2
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cc/thread_proxy.cc
|
View
|
1
2
|
10 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
Total messages: 5 (0 generated)
|