| Index: Source/WebCore/rendering/RenderText.cpp
|
| ===================================================================
|
| --- Source/WebCore/rendering/RenderText.cpp (revision 146890)
|
| +++ Source/WebCore/rendering/RenderText.cpp (working copy)
|
| @@ -1465,8 +1465,9 @@
|
| setNeedsLayoutAndPrefWidthsRecalc();
|
| m_knownToHaveNoOverflowAndNoFallbackFonts = false;
|
|
|
| - if (AXObjectCache* cache = document()->existingAXObjectCache())
|
| - cache->textChanged(this);
|
| + AXObjectCache* axObjectCache = document()->axObjectCache();
|
| + if (axObjectCache->accessibilityEnabled())
|
| + axObjectCache->textChanged(this);
|
| }
|
|
|
| String RenderText::textWithoutTranscoding() const
|
|
|