Index: Source/core/page/scrolling/ScrollingCoordinator.cpp |
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
index 88cb5374019492929b6536d1864a256ab31376c7..b3453c907d0d73caf70d7984fbdca9b06c3adb8a 100644 |
--- a/Source/core/page/scrolling/ScrollingCoordinator.cpp |
+++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp |
@@ -503,7 +503,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(rect, compositedLayer->layoutObject()); |
+ FloatQuad compositorQuad = geometryMap.mapToContainer(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 |