Bug # 35817: Remove unused RDF service reference. r=mcafee sr=brendan

This commit is contained in:
rjc%netscape.com 2002-01-07 11:18:53 +00:00
Родитель 3b402ef3f8
Коммит 032750d563
1 изменённых файлов: 0 добавлений и 13 удалений

Просмотреть файл

@ -295,7 +295,6 @@ protected:
PLDHashTable mReverseArcs;
nsCOMPtr<nsISupportsArray> mObservers;
nsIRDFService *mRDFService;
PRUint32 mNumObservers;
static PLDHashOperator PR_CALLBACK
@ -871,12 +870,6 @@ InMemoryDataSource::InMemoryDataSource(nsISupports* aOuter)
mAllocator.Init("nsInMemoryDataSource", kBucketSizes, kNumBuckets, kInitialSize);
nsresult rv = nsServiceManager::GetService(kRDFServiceCID,
NS_GET_IID(nsIRDFService),
(nsISupports**) &mRDFService);
NS_ASSERTION(NS_SUCCEEDED(rv), "unable to get RDF service");
#ifdef MOZ_THREADSAFE_RDF
mLock = nsnull;
#endif
@ -926,12 +919,6 @@ InMemoryDataSource::~InMemoryDataSource()
fprintf(stdout, "%d - RDF: InMemoryDataSource\n", gInstanceCount);
#endif
if (mRDFService)
{
nsServiceManager::ReleaseService(kRDFServiceCID, mRDFService);
mRDFService = nsnull;
}
// This'll release all of the Assertion objects that are
// associated with this data source. We only need to do this
// for the forward arcs, because the reverse arcs table