Combine event and touch action regions into a single class
[WebKit-https.git] / Source / WebCore / rendering / RenderLayer.cpp
index 06e50db..b2eb23e 100644 (file)
@@ -4891,9 +4891,6 @@ void RenderLayer::collectEventRegionForFragments(const LayerFragments& layerFrag
     for (const auto& fragment : layerFragments) {
         PaintInfo paintInfo(context, fragment.foregroundRect.rect(), PaintPhase::EventRegion, { });
         paintInfo.eventRegion = localPaintingInfo.eventRegion;
-#if ENABLE(POINTER_EVENTS)
-        paintInfo.touchActionRegion = localPaintingInfo.touchActionRegion;
-#endif
         renderer().paint(paintInfo, toLayoutPoint(fragment.layerBounds.location() - renderBoxLocation() + localPaintingInfo.subpixelOffset));
     }
 }