[Webkit-unassigned] [Bug 136818] [AX] Improve AccessibilityTableCell columnHeaders and rowHeaders functions.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 13 07:53:14 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=136818
--- Comment #24 from Andrzej Badowski <a.badowski at samsung.com> 2014-10-13 07:53:06 PST ---
(From update of attachment 239620)
View in context: https://bugs.webkit.org/attachment.cgi?id=239620&action=review
>> Source/WebCore/accessibility/AccessibilityTableCell.cpp:138
>> + for (Node* parentNode = node(); parentNode; parentNode = parentNode->parentNode()) {
>
> this patch looks good. I think after Darin's comments in another bug we should change this for loop to
>
> for (const auto& ancestor : ancestorsOfType<Node>(node()))
Direct use of this function leads to errors in the build. Some examples of the use of a similar iterator exist in webkit. My attempts to minor changes have not led to success.
>> Source/WebCore/accessibility/AccessibilityTableCell.cpp:160
>> + for (Node* parentNode = node(); parentNode; parentNode = parentNode->parentNode()) {
>
> ditto
> for (const auto& ancestor : ancestorsOfType<Node>(node()))
Direct use of this function leads to errors in the build. Some examples of the use of a similar iterator exist in webkit. My attempts to minor changes in the use did not lead to success.
>> Source/WebCore/accessibility/AccessibilityTableCell.h:49
>> + bool isRowHeaderCell();
>
> these two methods should be const
>
> bool isRowHeaderCell() const;
OK
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list