Skip to content

Commit d4ba9db

Browse files
committed
Use Latin1Characters for Windows build
1 parent b0566a4 commit d4ba9db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/WTF/wtf/URL.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ static inline String fileSystemPathWindows(WTF::StringView host, WTF::StringView
349349
ASSERT(path.containsOnlyASCII());
350350

351351
// UNC paths look like '\\server\share\etc', but in a URL they look like 'file://server/share/etc'.
352-
String decodedPath = path.is8Bit() ? decodeEscapeSequencesFromParsedURLForWindowsPath<LChar>(path.span8()) : decodeEscapeSequencesFromParsedURLForWindowsPath<UChar>(path.span16());
352+
String decodedPath = path.is8Bit() ? decodeEscapeSequencesFromParsedURLForWindowsPath<Latin1Character>(path.span8()) : decodeEscapeSequencesFromParsedURLForWindowsPath<UChar>(path.span16());
353353
if (host.length() > 0) [[unlikely]] {
354354
return makeString("\\\\"_s, host, "\\"_s, decodedPath);
355355
}

0 commit comments

Comments
 (0)