fixed bug 6597 and added memory allocation conditioning

This commit is contained in:
rickg@netscape.com
1999-05-19 05:01:46 +00:00
parent 8d6cf2a48f
commit fc107fc38c
46 changed files with 226 additions and 290 deletions
+3 -11
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.