Index: third_party/WebKit/Source/core/page/SpatialNavigation.cpp |
diff --git a/third_party/WebKit/Source/core/page/SpatialNavigation.cpp b/third_party/WebKit/Source/core/page/SpatialNavigation.cpp |
index a3efe2d1a628f033eee3d917760e85623b07e8b3..20a368546a230df214e924b5e7f83573341e8bda 100644 |
--- a/third_party/WebKit/Source/core/page/SpatialNavigation.cpp |
+++ b/third_party/WebKit/Source/core/page/SpatialNavigation.cpp |
@@ -628,7 +628,7 @@ LayoutRect virtualRectForAreaElementAndDirection(HTMLAreaElement& area, WebFocus |
ASSERT(area.imageElement()); |
// Area elements tend to overlap more than other focusable elements. We flatten the rect of the area elements |
// to minimize the effect of overlapping areas. |
- LayoutRect rect = virtualRectForDirection(type, rectToAbsoluteCoordinates(area.document().frame(), area.computeRect(area.imageElement()->layoutObject())), LayoutUnit(1)); |
+ LayoutRect rect = virtualRectForDirection(type, rectToAbsoluteCoordinates(area.document().frame(), area.computeAbsoluteRect(area.imageElement()->layoutObject())), LayoutUnit(1)); |
return rect; |
} |