Title: [243901] trunk/Source/WebCore
Revision
243901
Author
[email protected]
Date
2019-04-04 13:47:45 -0700 (Thu, 04 Apr 2019)

Log Message

Unreviewed, fix iOS build with recent SDKs.

* platform/gamepad/cocoa/GameControllerGamepad.mm:
(WebCore::GameControllerGamepad::GameControllerGamepad):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (243900 => 243901)


--- trunk/Source/WebCore/ChangeLog	2019-04-04 20:44:50 UTC (rev 243900)
+++ trunk/Source/WebCore/ChangeLog	2019-04-04 20:47:45 UTC (rev 243901)
@@ -1,3 +1,10 @@
+2019-04-04  Chris Dumez  <[email protected]>
+
+        Unreviewed, fix iOS build with recent SDKs.
+
+        * platform/gamepad/cocoa/GameControllerGamepad.mm:
+        (WebCore::GameControllerGamepad::GameControllerGamepad):
+
 2019-04-04  Eric Carlson  <[email protected]>
 
         [MediaStream] Host should be able to mute screen capture and camera/microphone independently

Modified: trunk/Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm (243900 => 243901)


--- trunk/Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm	2019-04-04 20:44:50 UTC (rev 243900)
+++ trunk/Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm	2019-04-04 20:47:45 UTC (rev 243901)
@@ -39,8 +39,11 @@
     controller.playerIndex = (GCControllerPlayerIndex)(GCControllerPlayerIndex1 + index);
 
     m_extendedGamepad = controller.extendedGamepad;
+
+    ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     if (!m_extendedGamepad)
         m_gamepad = controller.gamepad;
+    ALLOW_DEPRECATED_DECLARATIONS_END
 
     ASSERT(m_extendedGamepad || m_gamepad);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to