Commit 41a32f0d authored by cfleizach@apple.com's avatar cfleizach@apple.com

AX: WebProcess at com.apple.WebCore: WebCore::AXObjectCache::rootObject + 27

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

Reviewed by Darin Adler.

Crash logs indicate that there's a null pointer access in rootObject. That seems like it could only
happen in Document was null.

Unfortunately, there are no reproducible steps and no other information to construct a test case.

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::rootObject):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f7bf3768
2013-08-28 Chris Fleizach <cfleizach@apple.com>
AX: WebProcess at com.apple.WebCore: WebCore::AXObjectCache::rootObject + 27
https://bugs.webkit.org/show_bug.cgi?id=120434
Reviewed by Darin Adler.
Crash logs indicate that there's a null pointer access in rootObject. That seems like it could only
happen in Document was null.
Unfortunately, there are no reproducible steps and no other information to construct a test case.
* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::rootObject):
2013-08-28 Ryosuke Niwa <rniwa@webkit.org>
The code to look for an ancestor form element is duplicated in three different places
......@@ -421,6 +421,9 @@ AccessibilityObject* AXObjectCache::rootObject()
{
if (!gAccessibilityEnabled)
return 0;
if (!m_document)
return 0;
return getOrCreate(m_document->view());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment