|
Explicitly specify the ui::Compositor to DelegatedFrameHost
When DelegatedFrameHost was split off from RenderWidgetHostViewAura,
I had DelegatedFrameHost access the ui::Compositor via a call into the
client. This is harder to reason about than it should be, and leaves open
the possibility of keeping the DelegatedFrameHost as an observer of a
dead ui::Compositor.
Explicitly detach the DelegatedFrameHost from the ui::Compositor
when the ui::Compositor is being destroyed. Add a check to the
observer list, to ensure that it is empty at destruction.
BUG=(paying down technical debt)
Committed: https://crrev.com/92bcf3157b47fd6dffc3fafffd6227d87d4b7f99
Cr-Commit-Position: refs/heads/master@{#312926}
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+63 lines, -125 lines) |
Patch |
 |
M |
ash/wm/window_animations.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/delegated_frame_host.h
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/compositor/delegated_frame_host.cc
|
View
|
1
2
3
4
5
6
7
|
12 chunks |
+36 lines, -45 lines |
0 comments
|
Download
|
 |
M |
content/browser/media/capture/desktop_capture_device_aura.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
6
7
|
3 chunks |
+2 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_mac.mm
|
View
|
|
3 chunks |
+2 lines, -10 lines |
0 comments
|
Download
|
 |
M |
ui/aura/bench/bench_main.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/BUILD.gn
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor_observer.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/compositor_observer.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+0 lines, -28 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/layer_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/compositor/test/draw_waiter_for_test.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/compositor/test/draw_waiter_for_test.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
Total messages: 35 (15 generated)
|