зеркало из https://github.com/mozilla/pjs.git
50994 ( nebeta3+ ) - A recycled node was being referenced and therefore the crash.
r= nisheeth
This commit is contained in:
Родитель
c3745626ff
Коммит
e06c12833e
|
@ -341,12 +341,14 @@ 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) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -341,12 +341,14 @@ 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) {
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче