From 4c0ac65b2acd246c9b8d49d2cef538bd40ae61a3 Mon Sep 17 00:00:00 2001 From: "warren%netscape.com" Date: Tue, 9 Mar 1999 12:43:27 +0000 Subject: [PATCH] Fixed nsRepository -> nsComponentManager --- rdf/datasource/src/nsHistoryDataSource.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/rdf/datasource/src/nsHistoryDataSource.cpp b/rdf/datasource/src/nsHistoryDataSource.cpp index 7dc697e854c8..cc9908282d95 100644 --- a/rdf/datasource/src/nsHistoryDataSource.cpp +++ b/rdf/datasource/src/nsHistoryDataSource.cpp @@ -25,6 +25,7 @@ #include "nsIRDFObserver.h" #include "nsIRDFResourceFactory.h" #include "nsIServiceManager.h" +#include "nsIComponentManager.h" #include "nsString.h" #include "nsVoidArray.h" // XXX introduces dependency on raptorbase #include "nsRDFCID.h" @@ -37,7 +38,7 @@ #include "prprf.h" #include "prio.h" #include "prtime.h" - +#include "prlog.h" //////////////////////////////////////////////////////////////////////// // Interface IDs @@ -272,9 +273,9 @@ NS_IMETHODIMP nsHistoryDataSource::Init(const char* uri) { nsresult rv; - if (NS_FAILED(rv = nsRepository::CreateInstance(kRDFInMemoryDataSourceCID, - nsnull, kIRDFDataSourceIID, - (void**) &mInner))) + if (NS_FAILED(rv = nsComponentManager::CreateInstance(kRDFInMemoryDataSourceCID, + nsnull, kIRDFDataSourceIID, + (void**) &mInner))) return rv; if (NS_FAILED(rv = mInner->Init(uri)))