184075 r=darin sr=bz nsAboutRedirector should not use literal number
git-svn-id: svn://10.0.0.236/trunk@211792 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -71,7 +71,7 @@ static RedirEntry kRedirMap[] = {
|
||||
{ "plugins", "chrome://communicator/content/plugins.html", PR_TRUE },
|
||||
{ "config", "chrome://global/content/config.xul", PR_FALSE }
|
||||
};
|
||||
static const int kRedirTotal = 4; // sizeof(kRedirMap)/sizeof(*kRedirMap)
|
||||
static const int kRedirTotal = sizeof(kRedirMap)/sizeof(*kRedirMap);
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsAboutRedirector::NewChannel(nsIURI *aURI, nsIChannel **result)
|
||||
|
||||
Reference in New Issue
Block a user