Try to fix the watchOS build.
authoraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Jan 2019 00:43:40 +0000 (00:43 +0000)
committeraestes@apple.com <aestes@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 30 Jan 2019 00:43:40 +0000 (00:43 +0000)
* dom/Element.cpp:

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

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

index 5ed3184..1534bcd 100644 (file)
@@ -1,3 +1,9 @@
+2019-01-29  Andy Estes  <aestes@apple.com>
+
+        Try to fix the watchOS build.
+
+        * dom/Element.cpp:
+
 2019-01-29  Simon Fraser  <simon.fraser@apple.com>
 
         REGRESSION(r240553): [iOS] Crash in ScrollingTree::updateTreeFromStateNode when attempting to log in to icloud.com
index c3c23b1..9a9e4de 100644 (file)
@@ -3404,11 +3404,13 @@ bool Element::childShouldCreateRenderer(const Node& child) const
     return true;
 }
 
+#if ENABLE(FULLSCREEN_API) || ENABLE(POINTER_EVENTS)
 static Element* parentCrossingFrameBoundaries(const Element* element)
 {
     ASSERT(element);
     return element->parentElement() ? element->parentElement() : element->document().ownerElement();
 }
+#endif
 
 #if ENABLE(FULLSCREEN_API)
 void Element::webkitRequestFullscreen()