blob: 78fd4dc79bbcbb05487631fc31247835df2ce1a9 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 59f6903ad96f3213f248b672d5fd526cc0d666ce Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 20 May 2018 14:28:27 -0700
4Subject: [PATCH] soup: Forward declare URL class
5
6This helps getting away with compiler errors seen with clang
7
8/mnt/a/oe/workspace/sources/webkitgtk/Source/WebCore/platform/network/soup/SoupNetworkSession.h:68:62:
9error: unknown type name 'URL'
10 static std::optional<ResourceError> checkTLSErrors(const URL&,
11GTlsCertificate*, GTlsCertificateFlags);
12 ^
13Upstream-Status: Backport [https://trac.webkit.org/changeset/231876/webkit]
14
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16---
17 Source/WebCore/platform/network/soup/SoupNetworkSession.h | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/Source/WebCore/platform/network/soup/SoupNetworkSession.h b/Source/WebCore/platform/network/soup/SoupNetworkSession.h
21index 03bd72ba..7ca8792d 100644
22--- a/Source/WebCore/platform/network/soup/SoupNetworkSession.h
23+++ b/Source/WebCore/platform/network/soup/SoupNetworkSession.h
24@@ -43,6 +43,7 @@ namespace WebCore {
25
26 class CertificateInfo;
27 class ResourceError;
28+class URL;
29 struct SoupNetworkProxySettings;
30
31 class SoupNetworkSession {