| Index: content/renderer/accessibility/renderer_accessibility_complete.cc
|
| diff --git a/content/renderer/accessibility/renderer_accessibility_complete.cc b/content/renderer/accessibility/renderer_accessibility_complete.cc
|
| index 28536b03649a14acd8ad1699150069d160bcf8b6..e09021138999317c0fb66e9b24aef6dee5a3bef1 100644
|
| --- a/content/renderer/accessibility/renderer_accessibility_complete.cc
|
| +++ b/content/renderer/accessibility/renderer_accessibility_complete.cc
|
| @@ -207,7 +207,7 @@ void RendererAccessibilityComplete::SendPendingAccessibilityEvents() {
|
| WebAXObject obj = document.accessibilityObjectFromID(event.id);
|
|
|
| // Make sure the object still exists.
|
| - if (!obj.updateBackingStoreAndCheckValidity())
|
| + if (!obj.updateLayoutAndCheckValidity())
|
| continue;
|
|
|
| // If it's ignored, find the first ancestor that's not ignored.
|
| @@ -393,7 +393,7 @@ void RendererAccessibilityComplete::OnHitTest(gfx::Point point) {
|
| if (document.isNull())
|
| return;
|
| WebAXObject root_obj = document.accessibilityObject();
|
| - if (!root_obj.updateBackingStoreAndCheckValidity())
|
| + if (!root_obj.updateLayoutAndCheckValidity())
|
| return;
|
|
|
| WebAXObject obj = root_obj.hitTest(point);
|
|
|