Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Unified Diff: Source/WebCore/accessibility/AccessibilityObject.cpp

Issue 7058064: Merge 87856 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/782/
Patch Set: Created 9 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
« no previous file with comments | « Source/WebCore/accessibility/AccessibilityObject.h ('k') | Source/WebCore/accessibility/AccessibilityRenderObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698