Bug 70714 - visited link doesn't change color in embedding apps. The patch turns on the building of the embed-lite component which implements global history with less footprint and is exported to Embed dist. r=chak/sr=alecf

git-svn-id: svn://10.0.0.236/trunk@136189 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
ccarlen%netscape.com
2003-01-11 03:02:33 +00:00
parent a34e471574
commit e8b458dd5e
7 changed files with 18 additions and 23 deletions

View File

@@ -216,7 +216,6 @@ nsEmbedChromeRegistry::ReadChromeRegistry()
nsresult
nsEmbedChromeRegistry::ProcessNewChromeBuffer(char* aBuffer, PRInt32 aLength)
{
nsresult rv = NS_OK;
while (aLength > 0) {
PRInt32 processedBytes = ProcessChromeLine(aBuffer, aLength);
aBuffer += processedBytes;
@@ -347,17 +346,13 @@ nsEmbedChromeRegistry::Canonify(nsIURI* aChromeURI)
}
NS_IMETHODIMP
nsEmbedChromeRegistry::ConvertChromeURL(nsIURI* aChromeURL, char** aResult)
nsEmbedChromeRegistry::ConvertChromeURL(nsIURI* aChromeURL, nsACString& aResult)
{
nsresult rv;
nsCAutoString finalURL;
rv = aChromeURL->GetSpec(finalURL);
rv = aChromeURL->GetSpec(aResult);
if (NS_FAILED(rv)) return rv;
*aResult = ToNewCString(finalURL);
if (!*aResult) return NS_ERROR_OUT_OF_MEMORY;
return NS_OK;
}