diff options
author | Cronet Mainline Eng <cronet-mainline-eng+copybara@google.com> | 2024-01-02 11:58:25 +0000 |
---|---|---|
committer | Mohannad Farrag <aymanm@google.com> | 2024-01-02 12:02:18 +0000 |
commit | a593a16fd9fcd0dd4906673341bc921abb285b97 (patch) | |
tree | 6bca400c3096478188c12c7bf183d8652e8c8591 /url/url_canon_filesystemurl.cc | |
parent | ec3a8e8db24bb3ce4b078106b358ca1c4389c14f (diff) | |
download | cronet-a593a16fd9fcd0dd4906673341bc921abb285b97.tar.gz |
Import Cronet version 121.0.6103.2
FolderOrigin-RevId: /tmp/copybara-origin/src
Change-Id: I690becfaba7ad4293eba08b4f9d1aa7f953fce20
Diffstat (limited to 'url/url_canon_filesystemurl.cc')
-rw-r--r-- | url/url_canon_filesystemurl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/url/url_canon_filesystemurl.cc b/url/url_canon_filesystemurl.cc index 0472484de..f1a9f1c5c 100644 --- a/url/url_canon_filesystemurl.cc +++ b/url/url_canon_filesystemurl.cc @@ -36,7 +36,7 @@ bool DoCanonicalizeFileSystemURL(const CHAR* spec, // Scheme (known, so we don't bother running it through the more // complicated scheme canonicalizer). new_parsed->scheme.begin = output->length(); - output->Append("filesystem:", 11); + output->Append("filesystem:"); new_parsed->scheme.len = 10; if (!inner_parsed || !inner_parsed->scheme.is_valid()) @@ -46,7 +46,7 @@ bool DoCanonicalizeFileSystemURL(const CHAR* spec, SchemeType inner_scheme_type = SCHEME_WITH_HOST_PORT_AND_USER_INFORMATION; if (CompareSchemeComponent(spec, inner_parsed->scheme, url::kFileScheme)) { new_inner_parsed.scheme.begin = output->length(); - output->Append("file://", 7); + output->Append("file://"); new_inner_parsed.scheme.len = 4; success &= CanonicalizePath(spec, inner_parsed->path, output, &new_inner_parsed.path); |