Differential D22184 Diff 64134 www/qt5-webengine/files/patch-src_3rdparty_chromium_url_url__canon__internal.h
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_url_url__canon__internal.h
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
--- src/3rdparty/chromium/url/url_canon_internal.h.orig 2019-05-23 12:39:34 UTC | |||||
+++ src/3rdparty/chromium/url/url_canon_internal.h | |||||
@@ -305,9 +305,9 @@ inline bool Is8BitChar(base::char16 c) { | |||||
return c <= 255; | |||||
} | |||||
-template<typename CHAR> | |||||
+template<typename CHAR, typename DST> | |||||
inline bool DecodeEscaped(const CHAR* spec, int* begin, int end, | |||||
- unsigned char* unescaped_value) { | |||||
+ DST* unescaped_value) { | |||||
if (*begin + 3 > end || | |||||
!Is8BitChar(spec[*begin + 1]) || !Is8BitChar(spec[*begin + 2])) { | |||||
// Invalid escape sequence because there's not enough room, or the |