Bug 337917 Make consumers stop using cids from other modules

git-svn-id: svn://10.0.0.236/trunk@200245 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
timeless%mozdev.org
2006-06-18 21:18:22 +00:00
parent 83e679f6b5
commit d7d1bbda1f
42 changed files with 68 additions and 150 deletions

View File

@@ -1827,8 +1827,7 @@ nsImageFrame::LoadIcon(const nsAString& aSpec,
NS_PRECONDITION(!aSpec.IsEmpty(), "What happened??");
if (!sIOService) {
static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
rv = CallGetService(kIOServiceCID, &sIOService);
rv = CallGetService(NS_IOSERVICE_CONTRACTID, &sIOService);
NS_ENSURE_SUCCESS(rv, rv);
}