Title: [250684] branches/safari-608-branch/Source
Revision
250684
Author
[email protected]
Date
2019-10-03 14:41:18 -0700 (Thu, 03 Oct 2019)

Log Message

Cherry-pick r249068. rdar://problem/55927255

    Unreviewed, build fix after r249059

    Source/WebKit:

    * UIProcess/WebAuthentication/Cocoa/NfcConnection.mm:
    (WebKit::NfcConnection::NfcConnection):
    Remove the HAVE() macro.

    Source/WTF:

    * wtf/Platform.h:
    Make HAVE_NEAR_FIELD available only on iOS 13+ and macOS Catalina+.

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

Modified Paths

Diff

Modified: branches/safari-608-branch/Source/WTF/ChangeLog (250683 => 250684)


--- branches/safari-608-branch/Source/WTF/ChangeLog	2019-10-03 21:41:15 UTC (rev 250683)
+++ branches/safari-608-branch/Source/WTF/ChangeLog	2019-10-03 21:41:18 UTC (rev 250684)
@@ -1,5 +1,31 @@
 2019-10-03  Kocsen Chung  <[email protected]>
 
+        Cherry-pick r249068. rdar://problem/55927255
+
+    Unreviewed, build fix after r249059
+    
+    Source/WebKit:
+    
+    * UIProcess/WebAuthentication/Cocoa/NfcConnection.mm:
+    (WebKit::NfcConnection::NfcConnection):
+    Remove the HAVE() macro.
+    
+    Source/WTF:
+    
+    * wtf/Platform.h:
+    Make HAVE_NEAR_FIELD available only on iOS 13+ and macOS Catalina+.
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-08-23  Jiewen Tan  <[email protected]>
+
+            Unreviewed, build fix after r249059
+
+            * wtf/Platform.h:
+            Make HAVE_NEAR_FIELD available only on iOS 13+ and macOS Catalina+.
+
+2019-10-03  Kocsen Chung  <[email protected]>
+
         Cherry-pick r249059. rdar://problem/55927255
 
     [WebAuthn] Support NFC authenticators for iOS

Modified: branches/safari-608-branch/Source/WTF/wtf/Platform.h (250683 => 250684)


--- branches/safari-608-branch/Source/WTF/wtf/Platform.h	2019-10-03 21:41:15 UTC (rev 250683)
+++ branches/safari-608-branch/Source/WTF/wtf/Platform.h	2019-10-03 21:41:18 UTC (rev 250684)
@@ -1629,10 +1629,6 @@
 #define USE_HIRAGINO_SANS_WORKAROUND 1
 #endif
 
-#if !PLATFORM(IOS_FAMILY_SIMULATOR)
+#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || (PLATFORM(IOS_FAMILY) && !PLATFORM(IOS_FAMILY_SIMULATOR) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000)
 #define HAVE_NEAR_FIELD 1
 #endif
-
-#if (PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101500) || (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 130000)
-#define HAVE_NF_READER_SESSION_UPDATE_UI_ALERT_MESSAGE 1
-#endif

Modified: branches/safari-608-branch/Source/WebKit/ChangeLog (250683 => 250684)


--- branches/safari-608-branch/Source/WebKit/ChangeLog	2019-10-03 21:41:15 UTC (rev 250683)
+++ branches/safari-608-branch/Source/WebKit/ChangeLog	2019-10-03 21:41:18 UTC (rev 250684)
@@ -1,5 +1,32 @@
 2019-10-03  Kocsen Chung  <[email protected]>
 
+        Cherry-pick r249068. rdar://problem/55927255
+
+    Unreviewed, build fix after r249059
+    
+    Source/WebKit:
+    
+    * UIProcess/WebAuthentication/Cocoa/NfcConnection.mm:
+    (WebKit::NfcConnection::NfcConnection):
+    Remove the HAVE() macro.
+    
+    Source/WTF:
+    
+    * wtf/Platform.h:
+    Make HAVE_NEAR_FIELD available only on iOS 13+ and macOS Catalina+.
+    
+    git-svn-id: https://svn.webkit.org/repository/webkit/trunk@249068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+    2019-08-23  Jiewen Tan  <[email protected]>
+
+            Unreviewed, build fix after r249059
+
+            * UIProcess/WebAuthentication/Cocoa/NfcConnection.mm:
+            (WebKit::NfcConnection::NfcConnection):
+            Remove the HAVE() macro.
+
+2019-10-03  Kocsen Chung  <[email protected]>
+
         Cherry-pick r249059. rdar://problem/55927255
 
     [WebAuthn] Support NFC authenticators for iOS

Modified: branches/safari-608-branch/Source/WebKit/UIProcess/WebAuthentication/Cocoa/NfcConnection.mm (250683 => 250684)


--- branches/safari-608-branch/Source/WebKit/UIProcess/WebAuthentication/Cocoa/NfcConnection.mm	2019-10-03 21:41:15 UTC (rev 250683)
+++ branches/safari-608-branch/Source/WebKit/UIProcess/WebAuthentication/Cocoa/NfcConnection.mm	2019-10-03 21:41:18 UTC (rev 250684)
@@ -52,9 +52,7 @@
 {
     [m_session setDelegate:m_delegate.get()];
     // FIXME(200933)
-#if HAVE(NF_READER_SESSION_UPDATE_UI_ALERT_MESSAGE)
     [m_session updateUIAlertMessage:@"Hold the key against the top of your device."];
-#endif
     [m_session startPolling];
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to