[Webkit-unassigned] [Bug 179496] AX: AOM: Implement boolean type properties

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 18 01:58:32 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=179496

--- Comment #14 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 327237
  --> https://bugs.webkit.org/attachment.cgi?id=327237
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=327237&action=review

> Source/WebCore/accessibility/AXObjectCache.cpp:2885
> +            std::optional<bool> hiddenValue = AccessibleNode::effectiveBoolValueForElement(downcast<Element>(*testNode), AXPropertyName::Hidden);

Use auto in these cases.

> Source/WebCore/accessibility/AccessibilityARIAGrid.cpp:85
> +    std::optional<bool> multiSelectable = boolValueForProperty(AXPropertyName::Multiselectable);

Use auto.

> Source/WebCore/accessibility/AccessibilityNodeObject.cpp:628
> +        if (std::optional<bool> disabled = object->boolValueForProperty(AXPropertyName::Disabled)) {

Use auto.

> Source/WebCore/accessibility/AccessibilityNodeObject.cpp:707
> +    std::optional<bool> multiSelectable = boolValueForProperty(AXPropertyName::Multiselectable);

Use auto.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171118/7fe60fd3/attachment.html>


More information about the webkit-unassigned mailing list