Title: [281048] trunk/Source/WebCore
Revision
281048
Author
[email protected]
Date
2021-08-13 15:23:15 -0700 (Fri, 13 Aug 2021)

Log Message

Unreviewed build fix after r281012
https://bugs.webkit.org/show_bug.cgi?id=228861

Add missing constructor signature when USE(CFURLCONNECTION) is true.


* platform/network/cf/ResourceError.h:
* platform/network/cf/ResourceErrorCF.cpp: Add missing constructor signature.
(WebCore::ResourceError::ResourceError):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (281047 => 281048)


--- trunk/Source/WebCore/ChangeLog	2021-08-13 22:18:20 UTC (rev 281047)
+++ trunk/Source/WebCore/ChangeLog	2021-08-13 22:23:15 UTC (rev 281048)
@@ -1,3 +1,14 @@
+2021-08-13  Brent Fulgham  <[email protected]>
+
+        Unreviewed build fix after r281012
+        https://bugs.webkit.org/show_bug.cgi?id=228861
+
+        Add missing constructor signature when USE(CFURLCONNECTION) is true.
+
+        * platform/network/cf/ResourceError.h:
+        * platform/network/cf/ResourceErrorCF.cpp: Add missing constructor signature.
+        (WebCore::ResourceError::ResourceError):
+
 2021-08-13  Alex Christensen  <[email protected]>
 
         Unreviewed, reverting r281009.

Modified: trunk/Source/WebCore/platform/network/cf/ResourceError.h (281047 => 281048)


--- trunk/Source/WebCore/platform/network/cf/ResourceError.h	2021-08-13 22:18:20 UTC (rev 281047)
+++ trunk/Source/WebCore/platform/network/cf/ResourceError.h	2021-08-13 22:23:15 UTC (rev 281048)
@@ -66,7 +66,7 @@
     WEBCORE_EXPORT operator CFErrorRef() const;
 
 #if USE(CFURLCONNECTION)
-    ResourceError(const String& domain, int errorCode, const URL& failingURL, const String& localizedDescription, CFDataRef certificate);
+    ResourceError(const String& domain, int errorCode, const URL& failingURL, const String& localizedDescription, CFDataRef certificate, IsSanitized = IsSanitized::No);
     PCCERT_CONTEXT certificate() const;
     void setCertificate(CFDataRef);
     ResourceError(CFStreamError error);

Modified: trunk/Source/WebCore/platform/network/cf/ResourceErrorCF.cpp (281047 => 281048)


--- trunk/Source/WebCore/platform/network/cf/ResourceErrorCF.cpp	2021-08-13 22:18:20 UTC (rev 281047)
+++ trunk/Source/WebCore/platform/network/cf/ResourceErrorCF.cpp	2021-08-13 22:23:15 UTC (rev 281048)
@@ -45,8 +45,8 @@
         setType((CFErrorGetCode(m_platformError.get()) == kCFURLErrorTimedOut) ? Type::Timeout : Type::General);
 }
 
-ResourceError::ResourceError(const String& domain, int errorCode, const URL& failingURL, const String& localizedDescription, CFDataRef certificate)
-    : ResourceErrorBase(domain, errorCode, failingURL, localizedDescription, Type::General)
+ResourceError::ResourceError(const String& domain, int errorCode, const URL& failingURL, const String& localizedDescription, CFDataRef certificate, IsSanitized isSanitized)
+    : ResourceErrorBase(domain, errorCode, failingURL, localizedDescription, Type::General, isSanitized)
     , m_dataIsUpToDate(true)
     , m_certificate(certificate)
 {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to