diff --git a/gfx/src/nsDeviceContext.cpp b/gfx/src/nsDeviceContext.cpp
index ec7253ebedd..83038f506c2 100644
--- a/gfx/src/nsDeviceContext.cpp
+++ b/gfx/src/nsDeviceContext.cpp
@@ -375,7 +375,7 @@ NS_IMETHODIMP DeviceContextImpl::LoadIconImage(PRInt32 aId, nsIImage*& aImage)
// Build the URL string
char url[128];
- sprintf(url, "resource://res/gfx/icon_%d.gif", aId);
+ sprintf(url, "resource:/res/gfx/icon_%d.gif", aId);
// Use a sync net context
ilINetContext* netContext;
diff --git a/intl/uconv/src/nsCharsetAliasImp.cpp b/intl/uconv/src/nsCharsetAliasImp.cpp
index 7aeff517d89..efb7c4d0656 100644
--- a/intl/uconv/src/nsCharsetAliasImp.cpp
+++ b/intl/uconv/src/nsCharsetAliasImp.cpp
@@ -62,7 +62,7 @@ nsCharsetAlias2::nsCharsetAlias2()
{
NS_INIT_REFCNT();
PR_AtomicIncrement(&g_InstanceCount);
- nsAutoString propertyURL("resource://res/charsetalias.properties");
+ nsAutoString propertyURL("resource:/res/charsetalias.properties");
mDelegate = new nsURLProperties( propertyURL );
}
//--------------------------------------------------------------
diff --git a/intl/uconv/src/nsMacCharset.cpp b/intl/uconv/src/nsMacCharset.cpp
index 951ad838ec4..f6a407f5445 100644
--- a/intl/uconv/src/nsMacCharset.cpp
+++ b/intl/uconv/src/nsMacCharset.cpp
@@ -46,7 +46,7 @@ nsMacCharset::nsMacCharset()
{
NS_INIT_REFCNT();
PR_AtomicIncrement(&g_InstanceCount);
- nsAutoString propertyURL("resource://res/maccharset.properties");
+ nsAutoString propertyURL("resource:/res/maccharset.properties");
nsURLProperties *info = new nsURLProperties( propertyURL );
diff --git a/intl/uconv/src/nsUNIXCharset.cpp b/intl/uconv/src/nsUNIXCharset.cpp
index c4192c186f2..6a0a94e9585 100644
--- a/intl/uconv/src/nsUNIXCharset.cpp
+++ b/intl/uconv/src/nsUNIXCharset.cpp
@@ -52,7 +52,7 @@ nsUNIXCharset::nsUNIXCharset()
char* locale = setlocale(LC_CTYPE, NULL);
if(locale)
{
- nsAutoString propertyURL("resource://res/unixcharset.properties");
+ nsAutoString propertyURL("resource:/res/unixcharset.properties");
nsURLProperties *info = new nsURLProperties( propertyURL );
if( info )
diff --git a/intl/uconv/src/nsWinCharset.cpp b/intl/uconv/src/nsWinCharset.cpp
index efa69b9e2e6..0394398b223 100644
--- a/intl/uconv/src/nsWinCharset.cpp
+++ b/intl/uconv/src/nsWinCharset.cpp
@@ -45,7 +45,7 @@ nsWinCharset::nsWinCharset()
{
NS_INIT_REFCNT();
PR_AtomicIncrement(&g_InstanceCount);
- nsAutoString propertyURL("resource://res/wincharset.properties");
+ nsAutoString propertyURL("resource:/res/wincharset.properties");
nsURLProperties *info = new nsURLProperties( propertyURL );
diff --git a/mailnews/addrbook/resources/content/addressbook.xul b/mailnews/addrbook/resources/content/addressbook.xul
index 9eb56aaaa25..9ee70466278 100644
--- a/mailnews/addrbook/resources/content/addressbook.xul
+++ b/mailnews/addrbook/resources/content/addressbook.xul
@@ -90,7 +90,7 @@