[Webkit-unassigned] [Bug 174393] AX: [iOS] Implement a way to retrieve a text marker range with desired text that is closest to a position
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 12 00:52:31 PDT 2017
https://bugs.webkit.org/show_bug.cgi?id=174393
--- Comment #14 from Nan Wang <n_wang at apple.com> ---
(In reply to Nan Wang from comment #13)
> Comment on attachment 315210 [details]
> patch
>
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=315210&action=review
>
> >> Source/WebCore/accessibility/AXObjectCache.cpp:1732
> >> + RefPtr<ContainerNode> root;
> >
> > does this need to be initialized to nullptr?
>
> root will be set in indexForVisiblePosition(position, root), but yes I can
> initialize that.
I've checked most use cases of indexForVisiblePosition(position, root) in the project, and they didn't initialize the ContainerNode scope. So I will keep the consistency.
--
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/20170712/81a0e75b/attachment.html>
More information about the webkit-unassigned
mailing list