Fix Apple Internal builds after r245788.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 May 2019 16:00:42 +0000 (16:00 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 27 May 2019 16:00:42 +0000 (16:00 +0000)
* platform/PlatformScreen.h:
(WebCore::screenHasTouchDevice):
(WebCore::screenIsTouchPrimaryInputDevice):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/PlatformScreen.h

index bb09364..386e08f 100644 (file)
@@ -1,3 +1,11 @@
+2019-05-27  Simon Fraser  <simon.fraser@apple.com>
+
+        Fix Apple Internal builds after r245788.
+
+        * platform/PlatformScreen.h:
+        (WebCore::screenHasTouchDevice):
+        (WebCore::screenIsTouchPrimaryInputDevice):
+
 2019-05-27  Zalan Bujtas  <zalan@apple.com>
 
         [LFC][IFC] Ignore collapsed runs when setting the width on the associated display boxes.
index 3fd7471..999e167 100644 (file)
@@ -127,8 +127,8 @@ WEBCORE_EXPORT float screenScaleFactor(UIScreen * = nullptr);
 bool screenHasTouchDevice();
 bool screenIsTouchPrimaryInputDevice();
 #else
-bool screenHasTouchDevice() { return true; }
-bool screenIsTouchPrimaryInputDevice() { return true; }
+constexpr bool screenHasTouchDevice() { return true; }
+constexpr bool screenIsTouchPrimaryInputDevice() { return true; }
 #endif
 #endif