REGRESSION (r240201): Add a POINTER_EVENTS feature flag
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Jan 2019 19:23:01 +0000 (19:23 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 21 Jan 2019 19:23:01 +0000 (19:23 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193577
<rdar://problem/47408511>

* dom/ios/PointerEventIOS.cpp: Add ENABLE(POINTER_EVENTS) macro
to fix tvOS & watchOS builds.

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

Source/WebCore/ChangeLog
Source/WebCore/dom/ios/PointerEventIOS.cpp

index 3b5051a..32009ad 100644 (file)
@@ -1,3 +1,12 @@
+2019-01-21  David Kilzer  <ddkilzer@apple.com>
+
+        REGRESSION (r240201): Add a POINTER_EVENTS feature flag
+        https://bugs.webkit.org/show_bug.cgi?id=193577
+        <rdar://problem/47408511>
+
+        * dom/ios/PointerEventIOS.cpp: Add ENABLE(POINTER_EVENTS) macro
+        to fix tvOS & watchOS builds.
+
 2019-01-15  Darin Adler  <darin@apple.com>
 
         Use references rather than pointers for register/unregister functions, and more
index c4033cb..92bb83e 100644 (file)
@@ -26,7 +26,7 @@
 #import "config.h"
 #import "PointerEvent.h"
 
-#if ENABLE(TOUCH_EVENTS) && PLATFORM(IOS_FAMILY)
+#if ENABLE(POINTER_EVENTS) && ENABLE(TOUCH_EVENTS) && PLATFORM(IOS_FAMILY)
 
 #import "EventNames.h"
 
@@ -75,4 +75,4 @@ PointerEvent::PointerEvent(const AtomicString& type, const PlatformTouchEvent& e
 
 } // namespace WebCore
 
-#endif // ENABLE(TOUCH_EVENTS) && PLATFORM(IOS_FAMILY)
+#endif // ENABLE(POINTER_EVENTS) && ENABLE(TOUCH_EVENTS) && PLATFORM(IOS_FAMILY)