Changeset 206169 in webkit
- Timestamp:
- Sep 20, 2016 1:25:03 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r206168 r206169 1 2016-09-20 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 URLParser: uidna_IDNToASCII_56 is deprecated 4 https://bugs.webkit.org/show_bug.cgi?id=161841 5 6 Reviewed by Alex Christensen. 7 8 Add pragmas to silence the warning, plus a FIXME. 9 10 * platform/URLParser.cpp: 11 (WebCore::domainToASCII): 12 1 13 2016-09-20 Alex Christensen <achristensen@webkit.org> 2 14 -
trunk/Source/WebCore/platform/URLParser.cpp
r206162 r206169 1972 1972 UChar hostnameBuffer[hostnameBufferLength]; 1973 1973 UErrorCode error = U_ZERO_ERROR; 1974 1974 1975 #if COMPILER(GCC) || COMPILER(CLANG) 1976 #pragma GCC diagnostic push 1977 #pragma GCC diagnostic ignored "-Wdeprecated-declarations" 1978 #endif 1979 // FIXME: This should use uidna_openUTS46 / uidna_close instead 1975 1980 int32_t numCharactersConverted = uidna_IDNToASCII(StringView(domain).upconvertedCharacters(), domain.length(), hostnameBuffer, hostnameBufferLength, UIDNA_ALLOW_UNASSIGNED, nullptr, &error); 1981 #if COMPILER(GCC) || COMPILER(CLANG) 1982 #pragma GCC diagnostic pop 1983 #endif 1976 1984 1977 1985 if (error == U_ZERO_ERROR) {
Note: See TracChangeset
for help on using the changeset viewer.