Fix internal builds.
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Mar 2019 00:56:20 +0000 (00:56 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 23 Mar 2019 00:56:20 +0000 (00:56 +0000)
* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(stringForSSLProtocol):

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

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

index 6ab8a58..3753eb7 100644 (file)
@@ -1,3 +1,10 @@
+2019-03-22  Simon Fraser  <simon.fraser@apple.com>
+
+        Fix internal builds.
+
+        * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
+        (stringForSSLProtocol):
+
 2019-03-22  Keith Rollin  <krollin@apple.com>
 
         Enable ThinLTO support in Production builds
index 0d247c9..341cded 100644 (file)
@@ -105,6 +105,7 @@ static WebCore::NetworkLoadPriority toNetworkLoadPriority(float priority)
 #if HAVE(CFNETWORK_NEGOTIATED_SSL_PROTOCOL_CIPHER)
 static String stringForSSLProtocol(SSLProtocol protocol)
 {
+    ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     switch (protocol) {
 ALLOW_DEPRECATED_DECLARATIONS_BEGIN
     case kDTLSProtocol1:
@@ -135,6 +136,7 @@ ALLOW_DEPRECATED_DECLARATIONS_END
         ASSERT_NOT_REACHED();
         return emptyString();
     }
+    ALLOW_DEPRECATED_DECLARATIONS_END
 }
 
 static String stringForSSLCipher(SSLCipherSuite cipher)