Removed obsolete call to get the Prefs Service whenever ImageNetContextImpl::GetURL(...) is called.

git-svn-id: svn://10.0.0.236/trunk@78257 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rpotts%netscape.com
2000-09-06 09:14:08 +00:00
parent 7a644ef163
commit 0f9b2dfab2

View File

@@ -797,9 +797,6 @@ ImageNetContextImpl::GetURL (ilIURL * aURL,
rv = channel->GetLoadAttributes(&flags);
if (NS_FAILED(rv)) goto error;
NS_WITH_SERVICE(nsIPref, prefs, kPrefCID, &rv);
if (NS_FAILED(rv)) return rv;
if (aURL->GetBackgroundLoad())
flags |= nsIChannel::LOAD_BACKGROUND;