| Index: Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| index 0c078331c2d9287e3f5eff978a2183e92a6e74a2..bfb1ae1d44a1dd29fb94b0e039351aa346de4715 100644
|
| --- a/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -504,10 +504,12 @@ static void convertLayerRectsToEnclosingCompositedLayer(Frame* mainFrame, const
|
| MapCoordinatesFlags flags = UseTransforms;
|
| if (touchHandlerInChildFrame)
|
| flags |= TraverseDocumentBoundaries;
|
| + RenderLayer* rootLayer = mainFrame->contentRenderer()->layer();
|
| RenderGeometryMap geometryMap(flags);
|
| + geometryMap.pushMappingsToAncestor(rootLayer, 0);
|
| LayerFrameMap layerChildFrameMap;
|
| makeLayerChildFrameMap(mainFrame, &layerChildFrameMap);
|
| - convertLayerRectsToEnclosingCompositedLayerRecursive(mainFrame->contentRenderer()->layer(), layerRects, compositorRects, geometryMap, layersWithRects, layerChildFrameMap);
|
| + convertLayerRectsToEnclosingCompositedLayerRecursive(rootLayer, layerRects, compositorRects, geometryMap, layersWithRects, layerChildFrameMap);
|
| }
|
|
|
| void ScrollingCoordinator::updateTouchEventTargetRectsIfNeeded()
|
|
|