From 852fc3e8a04e25e0e29495cae0250ee0126049b7 Mon Sep 17 00:00:00 2001 From: "hyatt%netscape.com" Date: Fri, 2 Apr 1999 06:58:35 +0000 Subject: [PATCH] Target, not source. --- chrome/src/nsChromeRegistry.cpp | 2 +- rdf/chrome/src/nsChromeRegistry.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/src/nsChromeRegistry.cpp b/chrome/src/nsChromeRegistry.cpp index 16973f65301..d1311bb4e8b 100644 --- a/chrome/src/nsChromeRegistry.cpp +++ b/chrome/src/nsChromeRegistry.cpp @@ -345,7 +345,7 @@ nsChromeRegistry::GetChromeBase(nsString& aResult, nsIRDFResource* aChromeResour return NS_ERROR_FAILURE; // Must have a DB to attempt this operation. nsCOMPtr 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; } diff --git a/rdf/chrome/src/nsChromeRegistry.cpp b/rdf/chrome/src/nsChromeRegistry.cpp index 16973f65301..d1311bb4e8b 100644 --- a/rdf/chrome/src/nsChromeRegistry.cpp +++ b/rdf/chrome/src/nsChromeRegistry.cpp @@ -345,7 +345,7 @@ nsChromeRegistry::GetChromeBase(nsString& aResult, nsIRDFResource* aChromeResour return NS_ERROR_FAILURE; // Must have a DB to attempt this operation. nsCOMPtr 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; }