|
Simplify access to LegacyRenderWidgetHostHWND.
Instead of giving BrowserAccessibilityManagerWin a pointer
to a LegacyRenderWidgetHostHWND, which has been a source of
problems due to complicated lifecycles, just have BAMW
request the parent HWND and parent IAccessible from its
delegate whenever needed, with the understanding that these
may be NULL sometimes.
Note: this change fixes a DrMemory UAF detected in the
patch that migrated accessibility from RVH to RFH
(codereview.chromium.org/273423004), and also fixes
a potential concern in another fix to
LegacyRenderWidgetHostHWND (codereview.chromium.org/387353004).
BUG= 368298, 393665
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285818
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+103 lines, -200 lines) |
Patch |
|
M |
content/browser/accessibility/browser_accessibility_manager.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/accessibility/browser_accessibility_manager_unittest.cc
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/accessibility/browser_accessibility_manager_win.h
|
View
|
|
4 chunks |
+2 lines, -20 lines |
0 comments
|
Download
|
|
M |
content/browser/accessibility/browser_accessibility_manager_win.cc
|
View
|
|
6 chunks |
+18 lines, -52 lines |
0 comments
|
Download
|
|
M |
content/browser/accessibility/browser_accessibility_win.cc
|
View
|
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/browser/accessibility/browser_accessibility_win_unittest.cc
|
View
|
|
3 chunks |
+0 lines, -89 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_frame_host_impl.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/frame_host/render_frame_host_impl.cc
|
View
|
1
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/legacy_render_widget_host_win.h
|
View
|
|
3 chunks |
+0 lines, -9 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/legacy_render_widget_host_win.cc
|
View
|
|
5 chunks |
+15 lines, -12 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_aura.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
1
|
4 chunks |
+19 lines, -15 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_base.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/renderer_host/render_widget_host_view_base.cc
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
Total messages: 8 (0 generated)
|