Title: [197582] trunk/Source/WebKit2
Revision
197582
Author
[email protected]
Date
2016-03-04 13:00:02 -0800 (Fri, 04 Mar 2016)

Log Message

Release build fix after r197572.
https://bugs.webkit.org/show_bug.cgi?id=154993

* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
(-[WKNetworkSessionDelegate URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (197581 => 197582)


--- trunk/Source/WebKit2/ChangeLog	2016-03-04 20:58:50 UTC (rev 197581)
+++ trunk/Source/WebKit2/ChangeLog	2016-03-04 21:00:02 UTC (rev 197582)
@@ -1,5 +1,13 @@
 2016-03-04  Alex Christensen  <[email protected]>
 
+        Release build fix after r197572.
+        https://bugs.webkit.org/show_bug.cgi?id=154993
+
+        * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
+        (-[WKNetworkSessionDelegate URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:]):
+
+2016-03-04  Alex Christensen  <[email protected]>
+
         Use NSURLSession for loading in WebKit2
         https://bugs.webkit.org/show_bug.cgi?id=154993
 

Modified: trunk/Source/WebKit2/NetworkProcess/cocoa/NetworkSessionCocoa.mm (197581 => 197582)


--- trunk/Source/WebKit2/NetworkProcess/cocoa/NetworkSessionCocoa.mm	2016-03-04 20:58:50 UTC (rev 197581)
+++ trunk/Source/WebKit2/NetworkProcess/cocoa/NetworkSessionCocoa.mm	2016-03-04 21:00:02 UTC (rev 197582)
@@ -193,7 +193,7 @@
 - (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask didWriteData:(int64_t)bytesWritten totalBytesWritten:(int64_t)totalBytesWritten totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite
 {
     auto storedCredentials = session.configuration.URLCredentialStorage ? WebCore::StoredCredentials::AllowStoredCredentials : WebCore::StoredCredentials::DoNotAllowStoredCredentials;
-    ASSERT_WITH_MESSAGE(!_session->dataTaskForIdentifier([downloadTask taskIdentifier], storedCredentials), "The NetworkDataTask should be destroyed immediately after didBecomeDownloadTask returns");
+    ASSERT_WITH_MESSAGE_UNUSED(storedCredentials, !_session->dataTaskForIdentifier([downloadTask taskIdentifier], storedCredentials), "The NetworkDataTask should be destroyed immediately after didBecomeDownloadTask returns");
 
     auto downloadID = _session->downloadID([downloadTask taskIdentifier]);
     if (auto* download = WebKit::NetworkProcess::singleton().downloadManager().download(downloadID))
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to