From 0f9b2dfab2da0842dd262ef6fed84b9dad0b2d8d Mon Sep 17 00:00:00 2001 From: "rpotts%netscape.com" Date: Wed, 6 Sep 2000 09:14:08 +0000 Subject: [PATCH] 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 --- mozilla/gfx/src/nsImageNetContextAsync.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/mozilla/gfx/src/nsImageNetContextAsync.cpp b/mozilla/gfx/src/nsImageNetContextAsync.cpp index 5430d090ca5..67e37b8dad9 100644 --- a/mozilla/gfx/src/nsImageNetContextAsync.cpp +++ b/mozilla/gfx/src/nsImageNetContextAsync.cpp @@ -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;