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

Issue 16361013: Get rid of extraneous accessibility tree traversal code. (Closed)

Created:
7 years, 6 months ago by dmazzoni
Modified:
7 years, 6 months ago
CC:
blink-reviews, jamesr, eae+blinkwatch, aboxhall, abarth-chromium
Visibility:
Public.

Description

(Re-land) Get rid of extraneous accessibility tree traversal code. We never used AccessibilityRenderObject::previousSibling, and I've been scared for a long time someone would accidentally use it and we'd discover it's full of bugs, since it had no test coverage. (Several bugs have been caught in nextSibling over the years.) Time for it to die. We also don't need AccessibilityObject::lastChild, though the implementation was trivial. The public interface needs even less - we can get rid of firstChild, lastChild, nextSibling, and previousSibling, because childAt is the only one called. BUG=247082 R=eseidel@chromium.org, jamesr@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152005 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152050

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Rebase #

Patch Set 4 : Rebase for reland #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -157 lines) Patch
M Source/WebKit/chromium/src/WebAccessibilityObject.cpp View 2 chunks +0 lines, -46 lines 0 comments Download
M Source/core/accessibility/AccessibilityNodeObject.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/accessibility/AccessibilityNodeObject.cpp View 1 2 3 1 chunk +0 lines, -24 lines 0 comments Download
M Source/core/accessibility/AccessibilityObject.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/accessibility/AccessibilityRenderObject.h View 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/accessibility/AccessibilityRenderObject.cpp View 1 2 3 2 chunks +0 lines, -76 lines 0 comments Download
M public/webpage/WebAccessibilityObject.h View 1 2 3 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
dmazzoni
jamesr: please review public api change
7 years, 6 months ago (2013-06-06 06:59:32 UTC) #1
eseidel
lgtm Fantastic!
7 years, 6 months ago (2013-06-06 08:57:38 UTC) #2
jamesr
lgtm
7 years, 6 months ago (2013-06-06 17:12:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/16361013/1
7 years, 6 months ago (2013-06-06 17:15:34 UTC) #4
commit-bot: I haz the power
Failed to apply patch for Source/WebKit/chromium/public/WebAccessibilityObject.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 6 months ago (2013-06-06 17:15:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/16361013/6002
7 years, 6 months ago (2013-06-06 20:53:45 UTC) #6
commit-bot: I haz the power
Retried try job too often on win_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_layout_rel&number=9092
7 years, 6 months ago (2013-06-07 01:20:17 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/16361013/6002
7 years, 6 months ago (2013-06-07 02:21:23 UTC) #8
dmazzoni
Committed patchset #3 manually as r152005 (presubmit successful).
7 years, 6 months ago (2013-06-07 07:47:51 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/16361013/26001
7 years, 6 months ago (2013-06-07 19:43:11 UTC) #10
commit-bot: I haz the power
7 years, 6 months ago (2013-06-07 21:30:58 UTC) #11
Message was sent while issue was closed.
Change committed as 152050

Powered by Google App Engine
This is Rietveld 408576698