Changeset 238772 in webkit


Ignore:
Timestamp:
Nov 30, 2018, 8:28:18 PM (7 years ago)
Author:
achristensen@apple.com
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.

Location:
trunk/Source/WTF
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/Source/WTF/ChangeLog

    r238771 r238772  
     12018-11-30  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix Windows build after r238771
     4        https://bugs.webkit.org/show_bug.cgi?id=190234
     5
     6        * wtf/URLParser.h:
     7        Just make defaultPortForProtocol public so we don't have to worry about DLL linkage.
     8
    192018-11-30  Alex Christensen  <achristensen@webkit.org>
    210
  • TabularUnified trunk/Source/WTF/wtf/URLParser.h

    r238771 r238772  
    5151    static bool isInUserInfoEncodeSet(UChar);
    5252
     53    static std::optional<uint16_t> defaultPortForProtocol(StringView);
     54
    5355private:
    5456    URLParser(const String&, const URL& = { }, const URLTextEncoding* = nullptr);
    5557    URL result() { return m_url; }
    5658
    57     static std::optional<uint16_t> defaultPortForProtocol(StringView);
    58     friend std::optional<uint16_t> defaultPortForProtocol(StringView);
    5959    friend class URL;
    6060
Note: See TracChangeset for help on using the changeset viewer.