375196, r+sr=roc

git-svn-id: svn://10.0.0.236/trunk@222385 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
Olli.Pettay%helsinki.fi
2007-03-26 05:38:22 +00:00
parent 68a53a8714
commit 6de13cdbca
12 changed files with 29 additions and 32 deletions

View File

@@ -1114,7 +1114,7 @@ nsXMLContentSink::HandleEndElement(const PRUnichar *aName)
nsEventStatus status = nsEventStatus_eIgnore;
nsEvent event(PR_TRUE, NS_SVG_LOAD);
event.eventStructType = NS_SVG_EVENT;
nsIPresShell *presShell = mDocument->GetShellAt(0);
nsCOMPtr<nsIPresShell> presShell = mDocument->GetShellAt(0);
if (presShell) {
FlushTags();
presShell->HandleDOMEventWithTarget(content, &event, &status);