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:
@@ -316,7 +316,7 @@ LookupCache::GetLookupFragments(const nsACString& aSpec,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
const nsCSubstring& host = Substring(begin, iter++);
|
||||
const nsACString& host = Substring(begin, iter++);
|
||||
nsAutoCString path;
|
||||
path.Assign(Substring(iter, end));
|
||||
|
||||
@@ -417,7 +417,7 @@ LookupCache::GetHostKeys(const nsACString& aSpec,
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
const nsCSubstring& host = Substring(begin, iter);
|
||||
const nsACString& host = Substring(begin, iter);
|
||||
|
||||
if (IsCanonicalizedIP(host)) {
|
||||
nsCString *key = aHostKeys->AppendElement();
|
||||
|
||||
Reference in New Issue
Block a user