[WIN] Enable WEB_TIMING API
[WebKit-https.git] / Source / WebCore / platform / network / cf / SynchronousResourceHandleCFURLConnectionDelegate.cpp
index 15d8fa0..af1a02b 100644 (file)
@@ -145,7 +145,7 @@ void SynchronousResourceHandleCFURLConnectionDelegate::didReceiveResponse(CFURLC
 #endif
     
     ResourceResponse resourceResponse(cfResponse);
-#if ENABLE(WEB_TIMING)
+#if PLATFORM(COCOA) && ENABLE(WEB_TIMING)
     ResourceHandle::getConnectionTimingData(connection, resourceResponse.resourceLoadTiming());
 #else
     UNUSED_PARAM(connection);