зеркало из https://github.com/mozilla/pjs.git
Bug 47927. Check in the wrong fix to get the tree open. a=granrose.
This commit is contained in:
Родитель
d04a534a32
Коммит
f064495d03
|
@ -967,6 +967,8 @@ nsHTTPIndex::~nsHTTPIndex()
|
|||
|
||||
if (gRDF)
|
||||
{
|
||||
// XXX robert, this is wrong
|
||||
gRDF->UnregisterDataSource(this);
|
||||
nsServiceManager::ReleaseService(kRDFServiceCID, gRDF);
|
||||
gRDF = nsnull;
|
||||
}
|
||||
|
@ -1005,6 +1007,7 @@ nsHTTPIndex::Init()
|
|||
if (NS_FAILED(rv = NS_NewISupportsArray(getter_AddRefs(mConnectionList))))
|
||||
return(rv);
|
||||
|
||||
// XXX robert: this is wrong.
|
||||
// (do this last) register this as a named data source with the RDF service
|
||||
rv = gRDF->RegisterDataSource(this, PR_FALSE);
|
||||
if (NS_FAILED(rv)) return(rv);
|
||||
|
|
Загрузка…
Ссылка в новой задаче