Limit user-agent interactions based on the touch-action property on iOS
authorgraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Jan 2019 19:58:19 +0000 (19:58 +0000)
committergraouts@webkit.org <graouts@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 28 Jan 2019 19:58:19 +0000 (19:58 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193447

Unreviewed build fix.

* dom/Element.cpp:
(WebCore::parentCrossingFrameBoundaries):

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

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

index 4b1e07a..dad7450 100644 (file)
@@ -1,3 +1,13 @@
+2019-01-28  Antoine Quint  <graouts@apple.com>
+
+        Limit user-agent interactions based on the touch-action property on iOS
+        https://bugs.webkit.org/show_bug.cgi?id=193447
+
+        Unreviewed build fix.
+
+        * dom/Element.cpp:
+        (WebCore::parentCrossingFrameBoundaries):
+
 2019-01-28  Eric Carlson  <eric.carlson@apple.com>
 
         AVStreamSession isn't always available, make a HAVE compile flag for it
index ca4bc99..1664585 100644 (file)
@@ -3403,6 +3403,12 @@ bool Element::childShouldCreateRenderer(const Node& child) const
     return true;
 }
 
+static Element* parentCrossingFrameBoundaries(const Element* element)
+{
+    ASSERT(element);
+    return element->parentElement() ? element->parentElement() : element->document().ownerElement();
+}
+
 #if ENABLE(FULLSCREEN_API)
 void Element::webkitRequestFullscreen()
 {
@@ -3420,12 +3426,6 @@ void Element::setContainsFullScreenElement(bool flag)
     invalidateStyleAndLayerComposition();
 }
 
-static Element* parentCrossingFrameBoundaries(const Element* element)
-{
-    ASSERT(element);
-    return element->parentElement() ? element->parentElement() : element->document().ownerElement();
-}
-
 void Element::setContainsFullScreenElementOnAncestorsCrossingFrameBoundaries(bool flag)
 {
     Element* element = this;