Fix windows build.
[WebKit-https.git] / Source / WebCore / platform / network / cf / ResourceErrorCF.cpp
index 77a4bc642c87d352fa4e36889446ca31acb7c585..b2f7964adba8213b1aa057ab10a03cfee6967fbd 100644 (file)
 
 namespace WebCore {
 
+ResourceError::ResourceError(CFErrorRef cfError)
+    : m_dataIsUpToDate(false)
+    , m_platformError(cfError)
+{
+    m_isNull = !cfError;
+}
+
 const CFStringRef failingURLStringKey = CFSTR("NSErrorFailingURLStringKey");
 const CFStringRef failingURLKey = CFSTR("NSErrorFailingURLKey");