mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Target, not source.
This commit is contained in:
parent
ede8757505
commit
dd33ddd616
@ -345,7 +345,7 @@ nsChromeRegistry::GetChromeBase(nsString& aResult, nsIRDFResource* aChromeResour
|
||||
return NS_ERROR_FAILURE; // Must have a DB to attempt this operation.
|
||||
|
||||
nsCOMPtr<nsIRDFResource> chromeBase;
|
||||
if (NS_FAILED(rv = gRegistryDB->GetSource(kCHROME_base, aChromeResource, PR_TRUE, getter_AddRefs(chromeBase)))) {
|
||||
if (NS_FAILED(rv = gRegistryDB->GetTarget(kCHROME_base, aChromeResource, PR_TRUE, getter_AddRefs(chromeBase)))) {
|
||||
NS_ERROR("Unable to obtain a base resource.");
|
||||
return rv;
|
||||
}
|
||||
|
@ -345,7 +345,7 @@ nsChromeRegistry::GetChromeBase(nsString& aResult, nsIRDFResource* aChromeResour
|
||||
return NS_ERROR_FAILURE; // Must have a DB to attempt this operation.
|
||||
|
||||
nsCOMPtr<nsIRDFResource> chromeBase;
|
||||
if (NS_FAILED(rv = gRegistryDB->GetSource(kCHROME_base, aChromeResource, PR_TRUE, getter_AddRefs(chromeBase)))) {
|
||||
if (NS_FAILED(rv = gRegistryDB->GetTarget(kCHROME_base, aChromeResource, PR_TRUE, getter_AddRefs(chromeBase)))) {
|
||||
NS_ERROR("Unable to obtain a base resource.");
|
||||
return rv;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user