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 9561733ee30af96376bec43e1232439e9912fd81..9c249b98d607deb8d051f74faf2356c32ea01040 100644 |
--- a/ui/accessibility/platform/test_ax_node_wrapper.cc |
+++ b/ui/accessibility/platform/test_ax_node_wrapper.cc |
@@ -100,8 +100,9 @@ gfx::NativeViewAccessible TestAXNodeWrapper::ChildAtIndex(int index) { |
nullptr; |
} |
-gfx::Vector2d TestAXNodeWrapper::GetGlobalCoordinateOffset() { |
- return g_offset; |
+gfx::Rect TestAXNodeWrapper::GetScreenBoundsRect() const { |
+ // The tests using this wrapper just care about the screen offset. |
+ return gfx::Rect(g_offset.x(), g_offset.y(), 0, 0); |
} |
gfx::NativeViewAccessible TestAXNodeWrapper::HitTestSync(int x, int y) { |