Index: Source/core/accessibility/AXObjectCache.cpp |
diff --git a/Source/core/accessibility/AXObjectCache.cpp b/Source/core/accessibility/AXObjectCache.cpp |
index 98f6e29874d345f739cc50d2c13b3770dab06873..040d0b78ef8f4f33196192e3894d26aaa0770813 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 |