Title: [255688] trunk/Source/WebKit
Revision
255688
Author
[email protected]
Date
2020-02-04 11:06:25 -0800 (Tue, 04 Feb 2020)

Log Message

Fixed Deprecated API
https://bugs.webkit.org/show_bug.cgi?id=207179

Reviewed by Tim Horton.

Fixing deprecated API for MacCatalyst.

No new tests - build fix.

* Shared/UserInterfaceIdiom.mm:
(WebKit::userInterfaceIdiomIsPad):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (255687 => 255688)


--- trunk/Source/WebKit/ChangeLog	2020-02-04 19:05:17 UTC (rev 255687)
+++ trunk/Source/WebKit/ChangeLog	2020-02-04 19:06:25 UTC (rev 255688)
@@ -1,3 +1,17 @@
+2020-02-04  Megan Gardner  <[email protected]>
+
+        Fixed Deprecated API
+        https://bugs.webkit.org/show_bug.cgi?id=207179
+
+        Reviewed by Tim Horton.
+
+        Fixing deprecated API for MacCatalyst.
+
+        No new tests - build fix.
+
+        * Shared/UserInterfaceIdiom.mm:
+        (WebKit::userInterfaceIdiomIsPad):
+
 2020-02-04  Don Olmstead  <[email protected]>
 
         [PlayStation] Add WebKit API files

Modified: trunk/Source/WebKit/Shared/UserInterfaceIdiom.mm (255687 => 255688)


--- trunk/Source/WebKit/Shared/UserInterfaceIdiom.mm	2020-02-04 19:05:17 UTC (rev 255687)
+++ trunk/Source/WebKit/Shared/UserInterfaceIdiom.mm	2020-02-04 19:06:25 UTC (rev 255688)
@@ -50,7 +50,7 @@
     // This inline function exists to thwart unreachable code
     // detection on platforms where UICurrentUserInterfaceIdiomIsPad
     // is defined directly to false.
-#if USE(APPLE_INTERNAL_SDK)
+#if USE(APPLE_INTERNAL_SDK) && !PLATFORM(MACCATALYST)
     return UICurrentUserInterfaceIdiomIsPad();
 #else
     return [[UIDevice currentDevice] userInterfaceIdiom] == UIUserInterfaceIdiomPad;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to