Index: third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
index a2d6a782ac7c301276d8de6248b86311fd8e0c89..4c941fcbe273ec5013828e021dc19c6b1f5e2bd9 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -441,7 +441,7 @@ void LayoutBoxModelObject::addOutlineRectsForDescendant(const LayoutObject& desc |
if (descendant.hasLayer()) { |
Vector<LayoutRect> layerOutlineRects; |
descendant.addOutlineRects(layerOutlineRects, LayoutPoint(), includeBlockOverflows); |
- descendant.localToContainerRects(layerOutlineRects, this, LayoutPoint(), additionalOffset); |
+ descendant.localToAncestorRects(layerOutlineRects, this, LayoutPoint(), additionalOffset); |
rects.appendVector(layerOutlineRects); |
return; |
} |