Title: [207654] branches/safari-602-branch/Source/WebCore
Revision
207654
Author
bshaf...@apple.com
Date
2016-10-20 22:01:03 -0700 (Thu, 20 Oct 2016)

Log Message

Build fix. rdar://problem/28883727

Modified Paths


Diff

Modified: branches/safari-602-branch/Source/WebCore/ChangeLog (207653 => 207654)


--- branches/safari-602-branch/Source/WebCore/ChangeLog	2016-10-21 02:17:35 UTC (rev 207653)
+++ branches/safari-602-branch/Source/WebCore/ChangeLog	2016-10-21 05:01:03 UTC (rev 207654)
@@ -1,3 +1,10 @@
+2016-10-20  Babak Shafiei  <bshaf...@apple.com>
+
+        Build fix. rdar://problem/28883727
+
+        * platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp:
+        (WebCore::SynchronousResourceHandleCFURLConnectionDelegate::didReceiveResponse):
+
 2016-10-20  Daniel Bates  <daba...@apple.com>
 
         Merge r206809. rdar://problem/28718761

Modified: branches/safari-602-branch/Source/WebCore/platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp (207653 => 207654)


--- branches/safari-602-branch/Source/WebCore/platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp	2016-10-21 02:17:35 UTC (rev 207653)
+++ branches/safari-602-branch/Source/WebCore/platform/network/cf/SynchronousResourceHandleCFURLConnectionDelegate.cpp	2016-10-21 05:01:03 UTC (rev 207654)
@@ -135,7 +135,7 @@
 }
 #endif // !PLATFORM(COCOA)
 
-void SynchronousResourceHandleCFURLConnectionDelegate::didReceiveResponse(CFURLConnectionRef, CFURLResponseRef cfResponse)
+void SynchronousResourceHandleCFURLConnectionDelegate::didReceiveResponse(CFURLConnectionRef connection, CFURLResponseRef cfResponse)
 {
     LOG(Network, "CFNet - SynchronousResourceHandleCFURLConnectionDelegate::didReceiveResponse(handle=%p) (%s)", m_handle, m_handle->firstRequest().url().string().utf8().data());
 
@@ -180,10 +180,12 @@
 #if PLATFORM(COCOA) && ENABLE(WEB_TIMING)
     ResourceHandle::getConnectionTimingData(connection, resourceResponse.resourceLoadTiming());
 #else
+    UNUSED_PARAM(connection);
+#endif
+
 #if USE(QUICK_LOOK)
     resourceResponse.setIsQuickLook(isQuickLookPreview);
 #endif
-#endif
     
     m_handle->client()->didReceiveResponse(m_handle, WTFMove(resourceResponse));
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to