Index: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
diff --git a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
index 1698981f6c2eaf7b6aba21fbdd5d5536494a7730..0569076bf68a63504bd25600ff72a8c29da7c3ef 100644 |
--- a/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
+++ b/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp |
@@ -544,6 +544,9 @@ bool AXLayoutObject::computeAccessibilityIsIgnored(IgnoredReasons* ignoredReason |
ASSERT(m_initialized); |
#endif |
+ if (!m_layoutObject) |
+ return true; |
+ |
// Check first if any of the common reasons cause this element to be ignored. |
// Then process other use cases that need to be applied to all the various roles |
// that AXLayoutObjects take on. |