Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(990)

Issue 2865923004: Check that a view exists before sending an accessibility event. (Closed)

Created:
3 years, 7 months ago by Zachary Kuznia
Modified:
3 years, 7 months ago
CC:
chromium-reviews, aboxhall+watch_chromium.org, tfarina, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dougt+watch_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Check that a view exists before sending an accessibility event. When handling bounds changes, the view can disappear before the AXWindowObjectWrapper gets the event. BUG=711483 TEST=Turn on accessibility, and press the overview button twice. Ensure it does not crash. Review-Url: https://codereview.chromium.org/2865923004 Cr-Commit-Position: refs/heads/master@{#470249} Committed: https://chromium.googlesource.com/chromium/src/+/546a3b42a3414c671362459b1519eaeefb43afc3

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -2 lines) Patch
M ui/views/accessibility/ax_window_obj_wrapper.cc View 1 chunk +4 lines, -2 lines 2 comments Download

Messages

Total messages: 12 (6 generated)
zork
Please take a look.
3 years, 7 months ago (2017-05-09 01:40:40 UTC) #2
dmazzoni
Thanks! Looks like our changes overlapped - there were two separate bug reports for the ...
3 years, 7 months ago (2017-05-09 05:17:57 UTC) #4
dmazzoni
lgtm
3 years, 7 months ago (2017-05-09 05:18:05 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2865923004/1
3 years, 7 months ago (2017-05-09 05:18:47 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/546a3b42a3414c671362459b1519eaeefb43afc3
3 years, 7 months ago (2017-05-09 06:37:00 UTC) #10
varkha
3 years, 7 months ago (2017-05-09 07:00:57 UTC) #12
Message was sent while issue was closed.
A couple of nits.

https://codereview.chromium.org/2865923004/diff/1/ui/views/accessibility/ax_w...
File ui/views/accessibility/ax_window_obj_wrapper.cc (right):

https://codereview.chromium.org/2865923004/diff/1/ui/views/accessibility/ax_w...
ui/views/accessibility/ax_window_obj_wrapper.cc:107: views::View* view =
widget->GetRootView();
nit: s/view/root_view

https://codereview.chromium.org/2865923004/diff/1/ui/views/accessibility/ax_w...
ui/views/accessibility/ax_window_obj_wrapper.cc:108: if (view) {
nit: no {}

Powered by Google App Engine
This is Rietveld 408576698