removing redundant default/ in chrome uri string
git-svn-id: svn://10.0.0.236/trunk@45980 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1552,7 +1552,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);
|
||||
@@ -1561,7 +1561,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");
|
||||
|
||||
@@ -1709,7 +1709,7 @@ end:
|
||||
|
||||
if (chrome)
|
||||
{
|
||||
chrome->AppendRelativeUnixPath("netwerk/content/default/");
|
||||
chrome->AppendRelativeUnixPath("netwerk/content/");
|
||||
chrome->AppendRelativeUnixPath(scheme);
|
||||
PRBool exists;
|
||||
chrome->Exists(&exists);
|
||||
@@ -1720,7 +1720,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");
|
||||
|
||||
Reference in New Issue
Block a user