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

Unified Diff: ui/accessibility/platform/ax_platform_node_auralinux.cc

Issue 1122553002: Use atk_component_get_extents in ATK 2.12 and higher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: No need macros for versioning Created 5 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/platform/ax_platform_node_auralinux.cc
diff --git a/ui/accessibility/platform/ax_platform_node_auralinux.cc b/ui/accessibility/platform/ax_platform_node_auralinux.cc
index 36aa4c91b18e1b82ed8a9c03e2937c100c93c5a4..9686bf5cd9db316c34243d9655b3fa72357304c9 100644
--- a/ui/accessibility/platform/ax_platform_node_auralinux.cc
+++ b/ui/accessibility/platform/ax_platform_node_auralinux.cc
@@ -190,8 +190,8 @@ static AtkStateSet* ax_platform_node_auralinux_ref_state_set(
static gfx::Point FindAtkObjectParentCoords(AtkObject* atk_object) {
if (atk_object_get_role(atk_object) == ATK_ROLE_WINDOW) {
int x, y;
- atk_component_get_position(ATK_COMPONENT(atk_object),
- &x, &y, ATK_XY_WINDOW);
+ atk_component_get_extents(ATK_COMPONENT(atk_object),
+ &x, &y, nullptr, nullptr, ATK_XY_WINDOW);
gfx::Point window_coords(x, y);
return window_coords;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698