Title: [243096] trunk/Source/WebCore
Revision
243096
Author
an...@apple.com
Date
2019-03-18 13:29:03 -0700 (Mon, 18 Mar 2019)

Log Message

Try to fix Windows build.

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::updateEventRegion):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (243095 => 243096)


--- trunk/Source/WebCore/ChangeLog	2019-03-18 20:26:33 UTC (rev 243095)
+++ trunk/Source/WebCore/ChangeLog	2019-03-18 20:29:03 UTC (rev 243096)
@@ -1,5 +1,12 @@
 2019-03-18  Antti Koivisto  <an...@apple.com>
 
+        Try to fix Windows build.
+
+        * rendering/RenderLayerBacking.cpp:
+        (WebCore::RenderLayerBacking::updateEventRegion):
+
+2019-03-18  Antti Koivisto  <an...@apple.com>
+
         Layer with no backing store should still hit-test over a scroller
         https://bugs.webkit.org/show_bug.cgi?id=195378
         <rdar://problem/48652078>

Modified: trunk/Source/WebCore/rendering/RenderLayerBacking.cpp (243095 => 243096)


--- trunk/Source/WebCore/rendering/RenderLayerBacking.cpp	2019-03-18 20:26:33 UTC (rev 243095)
+++ trunk/Source/WebCore/rendering/RenderLayerBacking.cpp	2019-03-18 20:29:03 UTC (rev 243096)
@@ -1434,6 +1434,7 @@
 
 void RenderLayerBacking::updateEventRegion()
 {
+#if PLATFORM(COCOA)
     GraphicsContext nullContext(nullptr);
     RenderLayer::LayerPaintingInfo paintingInfo(&m_owningLayer, compositedBounds(), { }, LayoutSize());
 
@@ -1446,6 +1447,7 @@
     eventRegion.translate(roundedIntSize(contentOffsetInCompositingLayer()));
 
     m_graphicsLayer->setEventRegion(WTFMove(eventRegion));
+#endif
 }
 
 // Return true if the layer changed.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to