Title: [238772] trunk/Source/WTF
Revision
238772
Author
[email protected]
Date
2018-11-30 20:28:18 -0800 (Fri, 30 Nov 2018)

Log Message

Fix Windows build after r238771
https://bugs.webkit.org/show_bug.cgi?id=190234

* wtf/URLParser.h:
Just make defaultPortForProtocol public so we don't have to worry about DLL linkage.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (238771 => 238772)


--- trunk/Source/WTF/ChangeLog	2018-12-01 03:28:36 UTC (rev 238771)
+++ trunk/Source/WTF/ChangeLog	2018-12-01 04:28:18 UTC (rev 238772)
@@ -1,5 +1,13 @@
 2018-11-30  Alex Christensen  <[email protected]>
 
+        Fix Windows build after r238771
+        https://bugs.webkit.org/show_bug.cgi?id=190234
+
+        * wtf/URLParser.h:
+        Just make defaultPortForProtocol public so we don't have to worry about DLL linkage.
+
+2018-11-30  Alex Christensen  <[email protected]>
+
         Move URL from WebCore to WTF
         https://bugs.webkit.org/show_bug.cgi?id=190234
 

Modified: trunk/Source/WTF/wtf/URLParser.h (238771 => 238772)


--- trunk/Source/WTF/wtf/URLParser.h	2018-12-01 03:28:36 UTC (rev 238771)
+++ trunk/Source/WTF/wtf/URLParser.h	2018-12-01 04:28:18 UTC (rev 238772)
@@ -50,12 +50,12 @@
     static const UIDNA& internationalDomainNameTranscoder();
     static bool isInUserInfoEncodeSet(UChar);
 
+    static std::optional<uint16_t> defaultPortForProtocol(StringView);
+
 private:
     URLParser(const String&, const URL& = { }, const URLTextEncoding* = nullptr);
     URL result() { return m_url; }
 
-    static std::optional<uint16_t> defaultPortForProtocol(StringView);
-    friend std::optional<uint16_t> defaultPortForProtocol(StringView);
     friend class URL;
 
     URL m_url;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to