Index: Source/WebCore/accessibility/AccessibilityObject.cpp |
=================================================================== |
--- Source/WebCore/accessibility/AccessibilityObject.cpp (revision 88128) |
+++ Source/WebCore/accessibility/AccessibilityObject.cpp (working copy) |
@@ -717,6 +717,13 @@ |
return lineForPosition(visiblePositionForIndex(index, false)); |
} |
+void AccessibilityObject::updateBackingStore() |
+{ |
+ // Updating the layout may delete this object. |
+ if (Document* document = this->document()) |
+ document->updateLayoutIgnorePendingStylesheets(); |
+} |
+ |
Document* AccessibilityObject::document() const |
{ |
FrameView* frameView = documentFrameView(); |