Unreviewed, fix the build with recent SDKs.
authorryanhaddad@apple.com <ryanhaddad@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Mar 2019 17:57:55 +0000 (17:57 +0000)
committerryanhaddad@apple.com <ryanhaddad@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 22 Mar 2019 17:57:55 +0000 (17:57 +0000)
* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(stringForSSLProtocol):

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

Source/WebKit/ChangeLog
Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm

index 63b9d4a..306beff 100644 (file)
@@ -1,3 +1,10 @@
+2019-03-21  Ryan Haddad  <ryanhaddad@apple.com>
+
+        Unreviewed, fix the build with recent SDKs.
+
+        * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
+        (stringForSSLProtocol):
+
 2019-03-22  Chris Dumez  <cdumez@apple.com>
 
         Implement WebProcess freezer opt-in completely on WebContent process side
index b502081..0d247c9 100644 (file)
@@ -106,6 +106,7 @@ static WebCore::NetworkLoadPriority toNetworkLoadPriority(float priority)
 static String stringForSSLProtocol(SSLProtocol protocol)
 {
     switch (protocol) {
+ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     case kDTLSProtocol1:
         return "DTLS 1.0"_s;
     case kSSLProtocol2:
@@ -129,6 +130,7 @@ static String stringForSSLProtocol(SSLProtocol protocol)
     case kSSLProtocolUnknown:
         return "Unknown";
     case kTLSProtocolMaxSupported:
+ALLOW_DEPRECATED_DECLARATIONS_END
     default:
         ASSERT_NOT_REACHED();
         return emptyString();