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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user