50994 ( nebeta3+ ) - A recycled node was being referenced and therefore the crash.
r= nisheeth git-svn-id: svn://10.0.0.236/trunk@78268 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -340,13 +340,15 @@ public:
|
||||
/**********************************************************
|
||||
this gets called to close a tag in the sink and in the context
|
||||
**********************************************************/
|
||||
virtual nsresult CloseContainerInContext(nsIParserNode *aNode,eHTMLTags aTag,nsDTDContext *aContext,nsIHTMLContentSink *aSink) {
|
||||
virtual nsresult CloseContainerInContext(nsIParserNode *aNode,eHTMLTags aTag,nsDTDContext *aContext,nsIHTMLContentSink *aSink) {
|
||||
nsresult result=NS_OK;
|
||||
if(mTag!=aTag) {
|
||||
CElement *theElement=GetElement(aTag);
|
||||
return theElement->CloseContainerInContext(aNode,aTag,aContext,aSink);
|
||||
}
|
||||
result=CloseContainer(aNode,aTag,aContext,aSink);
|
||||
CloseContext(aNode,aTag,aContext,aSink);
|
||||
return CloseContainer(aNode,aTag,aContext,aSink);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user