| Index: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| index 9d5161debbaf8df35c0d66b5dc6aa74dc906b3ad..3d4a1f063ff4ab345012cf9826536c09e533cf97 100644
|
| --- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -495,7 +495,7 @@ static void projectRectsToGraphicsLayerSpaceRecursive(
|
| for (size_t i = 0; i < layerIter->value.size(); ++i) {
|
| LayoutRect rect = layerIter->value[i];
|
| if (compositedLayer != curLayer) {
|
| - FloatQuad compositorQuad = geometryMap.mapToContainer(FloatRect(rect), compositedLayer->layoutObject());
|
| + FloatQuad compositorQuad = geometryMap.mapToAncestor(FloatRect(rect), compositedLayer->layoutObject());
|
| rect = LayoutRect(compositorQuad.boundingBox());
|
| // If the enclosing composited layer itself is scrolled, we have to undo the subtraction
|
| // of its scroll offset since we want the offset relative to the scrolling content, not
|
|
|