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

Issue 2944103005: Fix lifetime problems in AXPlatformNodeCocoa. (Closed)

Created:
3 years, 6 months ago by tapted
Modified:
3 years, 5 months ago
Reviewers:
dmazzoni
CC:
chromium-reviews, aboxhall+watch_chromium.org, tfarina, nektar+watch_chromium.org, yuzo+watch_chromium.org, je_julie, dougt+watch_chromium.org, aleventhal+watch_chromium.org, dtseng+watch_chromium.org, mac-reviews_chromium.org, dmazzoni+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix lifetime problems in AXPlatformNodeCocoa. AXPlatformNodeCocoa needs to check in more places for its |node_| being detached. Fix and add test coverage. Previously committed in r484048. Reverted due to compile errors against more recent SDKs. Now fixed. BUG=734939 Review-Url: https://codereview.chromium.org/2944103005 Cr-Commit-Position: refs/heads/master@{#484477} Committed: https://chromium.googlesource.com/chromium/src/+/98c0539b58c22054eb032bde7df0648846f9acbc

Patch Set 1 #

Patch Set 2 : Self review #

Patch Set 3 : tolerable format #

Total comments: 2

Patch Set 4 : -tSkip getStringAttribute #

Patch Set 5 : rebase #

Total comments: 1

Patch Set 6 : Can now test paramaterized attributes #

Patch Set 7 : -tFix modern SDK warnings #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -4 lines) Patch
M ui/accessibility/platform/ax_platform_node_mac.mm View 1 2 3 4 5 11 chunks +31 lines, -4 lines 0 comments Download
M ui/views/widget/native_widget_mac_accessibility_unittest.mm View 1 2 3 4 5 6 1 chunk +82 lines, -0 lines 0 comments Download

Messages

Total messages: 40 (30 generated)
tapted
Hi Dominic, please take a look
3 years, 6 months ago (2017-06-20 10:51:10 UTC) #9
dmazzoni
lgtm https://codereview.chromium.org/2944103005/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm File ui/accessibility/platform/ax_platform_node_mac.mm (right): https://codereview.chromium.org/2944103005/diff/40001/ui/accessibility/platform/ax_platform_node_mac.mm#newcode283 ui/accessibility/platform/ax_platform_node_mac.mm:283: if (!node_) Isn't this an internal helper method? ...
3 years, 6 months ago (2017-06-20 17:47:16 UTC) #10
tapted
Thanks Dominic! Did you see the other CLs? (they're not too big :) - - ...
3 years, 6 months ago (2017-06-20 23:30:52 UTC) #13
tapted
(rebased to master now that https://codereview.chromium.org/2944083004 landed) https://codereview.chromium.org/2944103005/diff/80001/ui/views/widget/native_widget_mac_accessibility_unittest.mm File ui/views/widget/native_widget_mac_accessibility_unittest.mm (right): https://codereview.chromium.org/2944103005/diff/80001/ui/views/widget/native_widget_mac_accessibility_unittest.mm#newcode172 ui/views/widget/native_widget_mac_accessibility_unittest.mm:172: EXPECT_EQ(@[], [ax_node ...
3 years, 5 months ago (2017-07-04 03:23:41 UTC) #20
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/2944103005/100001
3 years, 5 months ago (2017-07-04 03:24:34 UTC) #23
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/bb756436f55c01c2066c17d5eec5aaeb1e52a120
3 years, 5 months ago (2017-07-04 03:31:27 UTC) #26
Avi (use Gerrit)
A revert of this CL (patchset #6 id:100001) has been created in https://codereview.chromium.org/2969293002/ by avi@chromium.org. ...
3 years, 5 months ago (2017-07-05 18:11:16 UTC) #27
tapted
(the compile fixes are pretty uninteresting - happy to follow up on any concerns you ...
3 years, 5 months ago (2017-07-06 06:01:35 UTC) #34
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/2944103005/120001
3 years, 5 months ago (2017-07-06 06:01:52 UTC) #37
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 06:05:37 UTC) #40
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/98c0539b58c22054eb032bde7df0...

Powered by Google App Engine
This is Rietveld 408576698