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

Unified Diff: content/browser/web_contents/web_contents_android.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 | « content/browser/accessibility/site_per_process_accessibility_browsertest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_android.cc
diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
index c9f073ce8cc72e323f20306defd28dc2a1ecaba9..a5afa25bc4781283c7a4a71a019f030161c8c5ec 100644
--- a/content/browser/web_contents/web_contents_android.cc
+++ b/content/browser/web_contents/web_contents_android.cc
@@ -130,7 +130,7 @@ ScopedJavaLocalRef<jobject> WalkAXTreeDepthFirst(
const gfx::Rect& absolute_rect = node->GetPageBoundsRect();
gfx::Rect parent_relative_rect = absolute_rect;
- bool is_root = node->GetParent() == nullptr;
+ bool is_root = node->PlatformGetParent() == nullptr;
if (!is_root) {
parent_relative_rect.Offset(-parent_rect.OffsetFromOrigin());
}
« no previous file with comments | « content/browser/accessibility/site_per_process_accessibility_browsertest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698