| Index: Source/core/rendering/RenderBlockFlow.cpp
|
| diff --git a/Source/core/rendering/RenderBlockFlow.cpp b/Source/core/rendering/RenderBlockFlow.cpp
|
| index df4eb4890dd809149065a29b96bf5c1a9cf5b5d1..bfbc5e05ffed94e77631ab2aa8ca63d3878a6d01 100644
|
| --- a/Source/core/rendering/RenderBlockFlow.cpp
|
| +++ b/Source/core/rendering/RenderBlockFlow.cpp
|
| @@ -33,6 +33,8 @@
|
|
|
| #include "core/accessibility/AXObjectCache.h"
|
| #include "core/frame/FrameView.h"
|
| +#include "core/frame/LocalFrame.h"
|
| +#include "core/frame/Settings.h"
|
| #include "core/rendering/HitTestLocation.h"
|
| #include "core/rendering/RenderFlowThread.h"
|
| #include "core/rendering/RenderLayer.h"
|
| @@ -1783,7 +1785,8 @@ RootInlineBox* RenderBlockFlow::createAndAppendRootInlineBox()
|
| RootInlineBox* rootBox = createRootInlineBox();
|
| m_lineBoxes.appendLineBox(rootBox);
|
|
|
| - if (UNLIKELY(AXObjectCache::accessibilityEnabled()) && m_lineBoxes.firstLineBox() == rootBox) {
|
| + Settings* settings = frame()->settings();
|
| + if (UNLIKELY(settings && settings->accessibilityEnabled()) && m_lineBoxes.firstLineBox() == rootBox) {
|
| if (AXObjectCache* cache = document().existingAXObjectCache())
|
| cache->recomputeIsIgnored(this);
|
| }
|
|
|