Fix windows build.
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Mar 2011 01:27:37 +0000 (01:27 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 14 Mar 2011 01:27:37 +0000 (01:27 +0000)
* platform/network/cf/ResourceErrorCF.cpp:
(WebCore::ResourceError::ResourceError):
Add missing constructor.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@80986 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/network/cf/ResourceErrorCF.cpp

index dad074e787028d78431909904ef7758d3105b8cc..b3cb723eee04e856baf8092b0a71eae5331f8e3e 100644 (file)
@@ -1,3 +1,11 @@
+2011-03-13  Sam Weinig  <sam@webkit.org>
+
+        Fix windows build.
+
+        * platform/network/cf/ResourceErrorCF.cpp:
+        (WebCore::ResourceError::ResourceError):
+        Add missing constructor.
+
 2011-03-13  David Sosby  <dsosby@rim.com>
 
         Reviewed by Dan Bernstein.
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");