Combine event and touch action regions into a single class
[WebKit-https.git] / Source / WebCore / platform / graphics / ca / GraphicsLayerCA.cpp
index 670e81e..a939a35 100644 (file)
@@ -984,7 +984,7 @@ void GraphicsLayerCA::setShapeLayerWindRule(WindRule windRule)
     noteLayerPropertyChanged(WindRuleChanged);
 }
 
-void GraphicsLayerCA::setEventRegion(Region&& eventRegion)
+void GraphicsLayerCA::setEventRegion(EventRegion&& eventRegion)
 {
     if (eventRegion == m_eventRegion)
         return;
@@ -993,17 +993,6 @@ void GraphicsLayerCA::setEventRegion(Region&& eventRegion)
     noteLayerPropertyChanged(EventRegionChanged, m_isCommittingChanges ? DontScheduleFlush : ScheduleFlush);
 }
 
-#if ENABLE(POINTER_EVENTS)
-void GraphicsLayerCA::setTouchActionRegion(TouchActionRegion&& touchActionRegion)
-{
-    if (touchActionRegion == m_touchActionRegion)
-        return;
-
-    GraphicsLayer::setTouchActionRegion(WTFMove(touchActionRegion));
-    // FIXME: Invalidate and pass to platform layer.
-}
-#endif
-
 bool GraphicsLayerCA::shouldRepaintOnSizeChange() const
 {
     return drawsContent() && !tiledBacking();