Index: Source/core/accessibility/AXObjectCache.cpp |
diff --git a/Source/core/accessibility/AXObjectCache.cpp b/Source/core/accessibility/AXObjectCache.cpp |
index dff32cf5b930674cccb701bdb5c1987a1bf8a505..afaf45881c8d6ded3b4a2ab1107437609ed9e598 100644 |
--- a/Source/core/accessibility/AXObjectCache.cpp |
+++ b/Source/core/accessibility/AXObjectCache.cpp |
@@ -1018,4 +1018,13 @@ void AXObjectCache::handleScrollPositionChanged(RenderObject* renderObject) |
postPlatformNotification(getOrCreate(renderObject), AXScrollPositionChanged); |
} |
+void AXObjectCache::setCanvasObjectBounds(Element* element, const LayoutRect& rect) |
+{ |
+ AXObject* obj = getOrCreate(element); |
+ if (!obj) |
+ return; |
+ |
+ obj->setElementRect(rect); |
+} |
+ |
} // namespace WebCore |