|
Initialize CompositorDependencies in RenderWidget's constructor.
Previously, this member was assigned ad-hoc during initialization of a
RenderWidget. Since there are different initialization paths for
different kinds of RenderWidgets, this led to some strange-looking code:
for example, the initialization of a frame widget would double-assign
CompositorDependencies.
BUG=none
TBR=mkwst@chromium.org
Committed: https://crrev.com/35d31c110f4005d8d11377a5612f498116a5c6d1
Cr-Commit-Position: refs/heads/master@{#339795}
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+129 lines, -116 lines) |
Patch |
|
M |
components/test_runner/web_test_proxy.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
1 comment
|
Download
|
|
M |
content/public/test/render_view_test.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/gpu/render_widget_compositor_unittest.cc
|
View
|
|
6 chunks |
+11 lines, -9 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_thread_impl.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/render_view_impl.h
|
View
|
|
2 chunks |
+7 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_view_impl.cc
|
View
|
|
6 chunks |
+16 lines, -14 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_widget.h
|
View
|
|
3 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_widget.cc
|
View
|
|
5 chunks |
+12 lines, -14 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_widget_fullscreen.h
|
View
|
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_widget_fullscreen.cc
|
View
|
|
2 chunks |
+9 lines, -4 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_widget_fullscreen_pepper.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/render_widget_fullscreen_pepper.cc
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_widget_unittest.cc
|
View
|
|
5 chunks |
+50 lines, -48 lines |
0 comments
|
Download
|
|
M |
content/test/layouttest_support.cc
|
View
|
|
1 chunk |
+5 lines, -4 lines |
0 comments
|
Download
|
Total messages: 11 (4 generated)
|