Bug 619590 - Bug Remove unused code from nsPrefetchNode::AsyncOnChannelRedirect, r=bzbarsky

Looks like this was overlooked in bug 442803
This commit is contained in:
Jason Duell 2011-05-26 08:45:47 +02:00
parent 6c1cd3c7cf
commit e1182946fd

View File

@ -374,9 +374,6 @@ nsPrefetchNode::AsyncOnChannelRedirect(nsIChannel *aOldChannel,
if (NS_FAILED(rv))
return rv;
nsCOMPtr<nsICachingChannel> oldCachingChannel =
do_QueryInterface(aOldChannel);
PRBool match;
rv = newURI->SchemeIs("http", &match);
if (NS_FAILED(rv) || !match) {