[ATK] Avoid unneeded call to to core(selection) in listObjectForSelection()
authoraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Jul 2019 10:08:57 +0000 (10:08 +0000)
committeraperez@igalia.com <aperez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 12 Jul 2019 10:08:57 +0000 (10:08 +0000)
commitbeb4084d1441359a7b10a0b8cefee2efd59ce43d
treeb9a527b842f2b4c52337d3db6968e62b439c0ae6
parent694e3a085d00b1c064c3543c30f6b6867cc68bc6
[ATK] Avoid unneeded call to to core(selection) in listObjectForSelection()
https://bugs.webkit.org/show_bug.cgi?id=199748
<rdar://problem/52995908>

Reviewed by Konstantin Tokarev.

No new tests needed.

* accessibility/atk/WebKitAccessibleInterfaceSelection.cpp:
(listObjectForCoreSelection): Renamed from listObjectForSelection() and remove the
unneeded call to core() now that coreSelection is passed directly to the function.
(optionFromList): Change to pass coreSelection directly to listObjectForCoreSelection().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247384 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/accessibility/atk/WebKitAccessibleInterfaceSelection.cpp