mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 22:01:30 +00:00
removing redundant default/ in chrome URI string.
This commit is contained in:
parent
7d8e5e088a
commit
8fdaa5dc38
@ -1579,7 +1579,7 @@ nsBrowserAppCore::OnStartDocumentLoad(nsIDocumentLoader* aLoader, nsIURI* aURL,
|
||||
|
||||
if (chrome)
|
||||
{
|
||||
chrome->AppendRelativeUnixPath("netwerk/content/default/");
|
||||
chrome->AppendRelativeUnixPath("netwerk/content/");
|
||||
chrome->AppendRelativeUnixPath(scheme);
|
||||
PRBool exists;
|
||||
chrome->Exists(&exists);
|
||||
@ -1588,7 +1588,7 @@ nsBrowserAppCore::OnStartDocumentLoad(nsIDocumentLoader* aLoader, nsIURI* aURL,
|
||||
{
|
||||
nsAutoString iconURIString;
|
||||
|
||||
iconURIString.SetString("chrome://netwerk/content/default/");
|
||||
iconURIString.SetString("chrome://netwerk/content/");
|
||||
iconURIString.Append(scheme);
|
||||
iconURIString.Append("/working.gif");
|
||||
|
||||
@ -1736,7 +1736,7 @@ end:
|
||||
|
||||
if (chrome)
|
||||
{
|
||||
chrome->AppendRelativeUnixPath("netwerk/content/default/");
|
||||
chrome->AppendRelativeUnixPath("netwerk/content/");
|
||||
chrome->AppendRelativeUnixPath(scheme);
|
||||
PRBool exists;
|
||||
chrome->Exists(&exists);
|
||||
@ -1747,7 +1747,7 @@ end:
|
||||
aUrl->GetScheme(&scheme);
|
||||
nsAutoString iconURIString;
|
||||
|
||||
iconURIString.SetString("chrome://netwerk/content/default/");
|
||||
iconURIString.SetString("chrome://netwerk/content/");
|
||||
iconURIString.Append(scheme);
|
||||
if (NS_SUCCEEDED(aStatus))
|
||||
iconURIString.Append("/successful.gif");
|
||||
|
Loading…
Reference in New Issue
Block a user