| Index: content/browser/accessibility/accessibility_tree_formatter_blink.cc
|
| diff --git a/content/browser/accessibility/accessibility_tree_formatter_blink.cc b/content/browser/accessibility/accessibility_tree_formatter_blink.cc
|
| index 6796770f2a565e2e9cd8693f6a164a23c70af898..99c241bf5149a4bdaed9f943c060316a33be0d67 100644
|
| --- a/content/browser/accessibility/accessibility_tree_formatter_blink.cc
|
| +++ b/content/browser/accessibility/accessibility_tree_formatter_blink.cc
|
| @@ -7,6 +7,7 @@
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/stringprintf.h"
|
| #include "content/browser/accessibility/accessibility_tree_formatter_blink.h"
|
| +#include "ui/gfx/geometry/rect_conversions.h"
|
| #include "ui/gfx/transform.h"
|
|
|
| namespace content {
|
| @@ -42,7 +43,7 @@ void AccessibilityTreeFormatterBlink::AddProperties(
|
|
|
| dict->SetString("internalRole", ui::ToString(node.GetData().role));
|
|
|
| - gfx::Rect bounds = node.GetData().location;
|
| + gfx::Rect bounds = gfx::ToEnclosingRect(node.GetData().location);
|
| dict->SetInteger("boundsX", bounds.x());
|
| dict->SetInteger("boundsY", bounds.y());
|
| dict->SetInteger("boundsWidth", bounds.width());
|
|
|