Bug 1374580 (part 3) - Remove ns{,C}Substring typedefs. r=froydnj.

All the instances are converted as follows.

- nsSubstring  --> nsAString
- nsCSubstring --> nsACString
This commit is contained in:
Nicholas Nethercote
2017-06-20 19:19:52 +10:00
parent 4cbdad69e6
commit 4ce1e9c11f
119 changed files with 363 additions and 379 deletions

View File

@@ -11427,7 +11427,7 @@ nsDocShell::AddHeadersToChannel(nsIInputStream* aHeadersData,
return NS_OK;
}
const nsCSubstring& oneHeader = StringHead(headersString, crlf);
const nsACString& oneHeader = StringHead(headersString, crlf);
colon = oneHeader.FindChar(':');
if (colon == kNotFound) {