| Index: ui/accessibility/platform/test_ax_node_wrapper.cc
|
| diff --git a/ui/accessibility/platform/test_ax_node_wrapper.cc b/ui/accessibility/platform/test_ax_node_wrapper.cc
|
| index 7e52077ca43370cd9235228b38d1ddb99bc2ea84..6f918c29e3631b0fbfd2c1f61e0e4717678a1baf 100644
|
| --- a/ui/accessibility/platform/test_ax_node_wrapper.cc
|
| +++ b/ui/accessibility/platform/test_ax_node_wrapper.cc
|
| @@ -5,6 +5,7 @@
|
| #include "base/containers/hash_tables.h"
|
| #include "ui/accessibility/ax_action_data.h"
|
| #include "ui/accessibility/platform/test_ax_node_wrapper.h"
|
| +#include "ui/gfx/geometry/rect_conversions.h"
|
|
|
| namespace ui {
|
|
|
| @@ -100,8 +101,10 @@ gfx::NativeViewAccessible TestAXNodeWrapper::ChildAtIndex(int index) {
|
| nullptr;
|
| }
|
|
|
| -gfx::Vector2d TestAXNodeWrapper::GetGlobalCoordinateOffset() {
|
| - return g_offset;
|
| +gfx::Rect TestAXNodeWrapper::GetScreenBoundsRect() const {
|
| + gfx::RectF bounds = GetData().location;
|
| + bounds.Offset(g_offset);
|
| + return gfx::ToEnclosingRect(bounds);
|
| }
|
|
|
| gfx::NativeViewAccessible TestAXNodeWrapper::HitTestSync(int x, int y) {
|
|
|