Index: ui/accessibility/platform/ax_platform_node_base.cc |
diff --git a/ui/accessibility/platform/ax_platform_node_base.cc b/ui/accessibility/platform/ax_platform_node_base.cc |
index b72f5e8e64a57102769b41e5588044729e2ac6ac..4e8303558734ce4e5e3c7b95c6b468c153d6e4a7 100644 |
--- a/ui/accessibility/platform/ax_platform_node_base.cc |
+++ b/ui/accessibility/platform/ax_platform_node_base.cc |
@@ -23,9 +23,7 @@ const AXNodeData& AXPlatformNodeBase::GetData() const { |
gfx::Rect AXPlatformNodeBase::GetBoundsInScreen() const { |
CHECK(delegate_); |
- gfx::Rect bounds = gfx::ToEnclosingRect(GetData().location); |
- bounds.Offset(delegate_->GetGlobalCoordinateOffset()); |
- return bounds; |
+ return delegate_->GetScreenBoundsRect(); |
} |
gfx::NativeViewAccessible AXPlatformNodeBase::GetParent() { |