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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user