Build fix when using NETWORK_SESSION after r191457.
authorachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Oct 2015 20:01:51 +0000 (20:01 +0000)
committerachristensen@apple.com <achristensen@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Oct 2015 20:01:51 +0000 (20:01 +0000)
* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(-[NetworkSessionDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):
Use resourceResponse.

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

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

index 08f5947ed7be3d55d2a7ced4be6f29b7f9f23bbd..f9823384b8c63a6d3e5e248c0610fb91f70943e4 100644 (file)
@@ -1,3 +1,11 @@
+2015-10-26  Alex Christensen  <achristensen@webkit.org>
+
+        Build fix when using NETWORK_SESSION after r191457.
+
+        * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
+        (-[NetworkSessionDelegate URLSession:dataTask:didReceiveResponse:completionHandler:]):
+        Use resourceResponse.
+
 2015-10-26  Anders Carlsson  <andersca@apple.com>
 
         Remove more dead context menu code
index 664d65abfacdc70f987e40e0773e2318492d958a..b611371f2a2d0d5ac81d74c482d91abe7ef01c34 100644 (file)
@@ -134,7 +134,7 @@ static NSURLSessionAuthChallengeDisposition toNSURLSessionAuthChallengeDispositi
         if (auto* client = networkingTask->client()) {
             ASSERT(isMainThread());
             WebCore::ResourceResponse resourceResponse(response);
-            client->didReceiveResponse(response, ^(WebKit::ResponseDisposition responseDisposition)
+            client->didReceiveResponse(resourceResponse, ^(WebKit::ResponseDisposition responseDisposition)
                 {
                     completionHandler(toNSURLSessionResponseDisposition(responseDisposition));
                 }