fixed bug 6597 and added memory allocation conditioning

git-svn-id: svn://10.0.0.236/trunk@32284 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-05-19 05:01:46 +00:00
parent d2804028ef
commit 1f82bdb300
46 changed files with 226 additions and 290 deletions

View File

@@ -357,7 +357,9 @@ NS_IMETHODIMP CViewSourceHTML::DidBuildModel(nsresult anErrorCode,PRBool aNotify
*/
nsITokenRecycler* CViewSourceHTML::GetTokenRecycler(void){
nsITokenizer* theTokenizer=GetTokenizer();
return theTokenizer->GetTokenRecycler();
if(theTokenizer)
return theTokenizer->GetTokenRecycler();
return 0;
}
/**
@@ -423,16 +425,6 @@ PRBool CViewSourceHTML::Verify(nsString& aURLRef,nsIParser* aParser) {
void CViewSourceHTML::SetVerification(PRBool aEnabled){
}
/**
*
*
* @update gess 4/01/99
* @param aTokenizer
* @return
*/
void CViewSourceHTML::EmitMisplacedContent(nsITokenizer* aTokenizer){
}
/**
* This method is called to determine whether or not a tag
* of one type can contain a tag of another type.