Fixing case sensitivity problem.
This commit is contained in:
Родитель
7156184a89
Коммит
a3d8385a9e
|
@ -227,8 +227,7 @@ nsChromeRegistry::ConvertChromeURL(nsIURL* aChromeURL)
|
|||
}
|
||||
|
||||
nsAutoString hostStr(host);
|
||||
hostStr.ToLowerCase();
|
||||
|
||||
|
||||
// Construct a chrome URL and use it to look up a resource.
|
||||
nsAutoString windowType = nsAutoString("chrome://") + hostStr + "/";
|
||||
|
||||
|
@ -236,8 +235,7 @@ nsChromeRegistry::ConvertChromeURL(nsIURL* aChromeURL)
|
|||
const char* file;
|
||||
aChromeURL->GetFile(&file);
|
||||
nsAutoString restOfURL(file);
|
||||
restOfURL.ToLowerCase();
|
||||
|
||||
|
||||
// Find the second slash.
|
||||
nsAutoString providerType("content");
|
||||
nsAutoString path("");
|
||||
|
|
|
@ -227,8 +227,7 @@ nsChromeRegistry::ConvertChromeURL(nsIURL* aChromeURL)
|
|||
}
|
||||
|
||||
nsAutoString hostStr(host);
|
||||
hostStr.ToLowerCase();
|
||||
|
||||
|
||||
// Construct a chrome URL and use it to look up a resource.
|
||||
nsAutoString windowType = nsAutoString("chrome://") + hostStr + "/";
|
||||
|
||||
|
@ -236,8 +235,7 @@ nsChromeRegistry::ConvertChromeURL(nsIURL* aChromeURL)
|
|||
const char* file;
|
||||
aChromeURL->GetFile(&file);
|
||||
nsAutoString restOfURL(file);
|
||||
restOfURL.ToLowerCase();
|
||||
|
||||
|
||||
// Find the second slash.
|
||||
nsAutoString providerType("content");
|
||||
nsAutoString path("");
|
||||
|
|
Загрузка…
Ссылка в новой задаче