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

Unified Diff: content/browser/accessibility/ax_platform_position.cc

Issue 2761853004: Rename BrowserAccessibility::GetParent to PlatformGetParent. (Closed)
Patch Set: PlatformGetParent rename Created 3 years, 9 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/browser/accessibility/browser_accessibility.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/accessibility/ax_platform_position.cc
diff --git a/content/browser/accessibility/ax_platform_position.cc b/content/browser/accessibility/ax_platform_position.cc
index cecd16b19abb0b2f41858aa775408c880fe451b0..34d313929c307f958c8924b515d8eccc9621f36b 100644
--- a/content/browser/accessibility/ax_platform_position.cc
+++ b/content/browser/accessibility/ax_platform_position.cc
@@ -69,13 +69,13 @@ void AXPlatformPosition::AnchorParent(AXTreeID* tree_id,
DCHECK(tree_id);
DCHECK(parent_id);
- if (!GetAnchor() || !GetAnchor()->GetParent()) {
+ if (!GetAnchor() || !GetAnchor()->PlatformGetParent()) {
*tree_id = AXPosition::INVALID_TREE_ID;
*parent_id = AXPosition::INVALID_ANCHOR_ID;
return;
}
- BrowserAccessibility* parent = GetAnchor()->GetParent();
+ BrowserAccessibility* parent = GetAnchor()->PlatformGetParent();
*tree_id = parent->manager()->ax_tree_id();
*parent_id = parent->GetId();
}
« no previous file with comments | « no previous file | content/browser/accessibility/browser_accessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698