| Index: chrome/renderer/extensions/automation_internal_custom_bindings.cc
|
| diff --git a/chrome/renderer/extensions/automation_internal_custom_bindings.cc b/chrome/renderer/extensions/automation_internal_custom_bindings.cc
|
| index 6fc8560df45170bede51497bc66601b52b015bcf..78e51c92e7b73870958995306070e937e65cfac3 100644
|
| --- a/chrome/renderer/extensions/automation_internal_custom_bindings.cc
|
| +++ b/chrome/renderer/extensions/automation_internal_custom_bindings.cc
|
| @@ -134,7 +134,7 @@ static gfx::Rect ComputeGlobalNodeBounds(TreeCache* cache, ui::AXNode* node) {
|
| if (!container || container == node)
|
| break;
|
|
|
| - gfx::RectF container_bounds = ComputeLocalNodeBounds(cache, container);
|
| + gfx::RectF container_bounds = container->data().location;
|
| bounds.Offset(container_bounds.x(), container_bounds.y());
|
|
|
| int scroll_x = 0;
|
|
|