375196, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@222385 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user