mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 01:10:22 +00:00
Don't automatically register every data source; instead, the data source can register itself during Init().
This commit is contained in:
parent
428526b495
commit
0d9f516821
@ -712,7 +712,7 @@ ServiceImpl::GetDataSource(const char* uri, nsIRDFDataSource** aDataSource)
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
rv = (*aDataSource)->Init(uri);
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
return RegisterDataSource(*aDataSource);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
|
Loading…
x
Reference in New Issue
Block a user