Unreviewed build fix for iOSMac after r243893.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Apr 2019 21:31:52 +0000 (21:31 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Apr 2019 21:31:52 +0000 (21:31 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196707

* dom/Element.cpp:
(WebCore::parentCrossingFrameBoundaries): Remove ENABLE(POINTER_EVENTS) since computedTouchActions()
no longer uses parentCrossingFrameBoundaries().

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244046 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/dom/Element.cpp

index 0179b10..a84a0a1 100644 (file)
@@ -1,3 +1,12 @@
+2019-04-08  Timothy Hatcher  <timothy@apple.com>
+
+        Unreviewed build fix for iOSMac after r243893.
+        https://bugs.webkit.org/show_bug.cgi?id=196707
+
+        * dom/Element.cpp:
+        (WebCore::parentCrossingFrameBoundaries): Remove ENABLE(POINTER_EVENTS) since computedTouchActions()
+        no longer uses parentCrossingFrameBoundaries().
+
 2019-04-08  Youenn Fablet  <youenn@apple.com>
 
         Lazily construct Navigator serviceWorker
index bb59e3d..635c7f2 100644 (file)
@@ -3434,7 +3434,7 @@ bool Element::childShouldCreateRenderer(const Node& child) const
     return true;
 }
 
-#if ENABLE(FULLSCREEN_API) || ENABLE(POINTER_EVENTS)
+#if ENABLE(FULLSCREEN_API)
 static Element* parentCrossingFrameBoundaries(const Element* element)
 {
     ASSERT(element);
@@ -3442,9 +3442,7 @@ static Element* parentCrossingFrameBoundaries(const Element* element)
         return parent;
     return element->document().ownerElement();
 }
-#endif
 
-#if ENABLE(FULLSCREEN_API)
 void Element::webkitRequestFullscreen()
 {
     document().requestFullScreenForElement(this, Document::EnforceIFrameAllowFullScreenRequirement);