| Index: Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| diff --git a/Source/core/page/scrolling/ScrollingCoordinator.cpp b/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| index b66c1c951c1ca22e60114962889ea9248d980301..fd848058bf230c34d2933c1a20f4a42249e872dc 100644
|
| --- a/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| +++ b/Source/core/page/scrolling/ScrollingCoordinator.cpp
|
| @@ -456,16 +456,7 @@ static void projectRectsToGraphicsLayerSpaceRecursive(
|
| return;
|
|
|
| // Find the appropriate GraphicsLayer for the composited RenderLayer.
|
| - GraphicsLayer* graphicsLayer;
|
| - if (compositedLayer->compositingState() == PaintsIntoGroupedBacking) {
|
| - graphicsLayer = compositedLayer->groupedMapping()->squashingLayer();
|
| - } else {
|
| - ASSERT(compositedLayer->hasCompositedLayerMapping());
|
| - CompositedLayerMappingPtr compositedLayerMapping = compositedLayer->compositedLayerMapping();
|
| - graphicsLayer = compositedLayerMapping->scrollingContentsLayer();
|
| - if (!graphicsLayer)
|
| - graphicsLayer = compositedLayerMapping->mainGraphicsLayer();
|
| - }
|
| + GraphicsLayer* graphicsLayer = compositedLayer->graphicsLayerBackingForScrolling();
|
|
|
| GraphicsLayerHitTestRects::iterator glIter = graphicsRects.find(graphicsLayer);
|
| Vector<LayoutRect>* glRects;
|
|
|