[Webkit-unassigned] [Bug 140618] AX: crash in accessibilityRootObjectWrapper method (WebPageAccessibilityObjectAtk.cpp)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 19 06:53:39 PST 2015


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

--- Comment #2 from chris fleizach <cfleizach at apple.com> ---
Comment on attachment 244900
  --> https://bugs.webkit.org/attachment.cgi?id=244900
Patch

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

> Source/WebKit2/WebProcess/WebPage/atk/WebPageAccessibilityObjectAtk.cpp:59
> +    AccessibilityObject* coreRootObject = coreFrame.document()->axObjectCache() ? coreFrame.document()->axObjectCache()->rootObject() : 0;

I think you can cache the AXObjectCache in a local variable
Also use nullptr instead of 0
Can you add a test for tgus

-- 
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/20150119/78431428/attachment-0002.html>


More information about the webkit-unassigned mailing list