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

Unified Diff: content/renderer/accessibility/renderer_accessibility_complete.cc

Issue 684093003: Replace deprecated updateBackingStoreAndCheckValidity to updateLayoutAndCheckValidity (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/accessibility_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « no previous file | content/shell/renderer/test_runner/accessibility_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698