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 08f5947..f982338 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 664d65a..b611371 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));
                 }