RESOLVED FIXED 244687
AX ITM: pass Ref<AXCoreObject> to live objects by reference.
https://bugs.webkit.org/show_bug.cgi?id=244687
Summary AX ITM: pass Ref<AXCoreObject> to live objects by reference.
Andres Gonzalez
Reported 2022-09-01 14:32:17 PDT
Attachments
Patch (8.18 KB, patch)
2022-09-01 14:45 PDT, Andres Gonzalez
no flags
Patch (8.94 KB, patch)
2022-09-01 18:08 PDT, Andres Gonzalez
no flags
Radar WebKit Bug Importer
Comment 1 2022-09-01 14:32:29 PDT
Andres Gonzalez
Comment 2 2022-09-01 14:45:02 PDT
Andres Gonzalez
Comment 3 2022-09-01 18:08:14 PDT
Tyler Wilcock
Comment 4 2022-09-01 19:08:43 PDT
Comment on attachment 462082 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=462082&action=review > Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:273 > + AXLOG(axObject.ptr()); I think (but am not 100% sure) this will only log the memory address of the object. Does axObject.get() (which returns a reference) compile?
Andres Gonzalez
Comment 5 2022-09-02 05:21:00 PDT
(In reply to Tyler Wilcock from comment #4) > Comment on attachment 462082 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=462082&action=review > > > Source/WebCore/accessibility/isolatedtree/AXIsolatedTree.cpp:273 > > + AXLOG(axObject.ptr()); > > I think (but am not 100% sure) this will only log the memory address of the > object. Does axObject.get() (which returns a reference) compile? No, AXLogger::log takes a pointer not a reference, so you need ptr().
EWS
Comment 6 2022-09-02 12:22:07 PDT
Committed 254107@main (276e9d6f7b36): <https://commits.webkit.org/254107@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 462082 [details].
Note You need to log in before you can comment on or make changes to this bug.