зеркало из https://github.com/mozilla/gecko-dev.git
Removed unused variable. NS_PAGE_LOAD is nsEvent, not nsMouseEvent. r=harishd.
This commit is contained in:
Родитель
4c04906d37
Коммит
8e32589d01
|
@ -681,9 +681,8 @@ nsXMLDocument::EndLoad()
|
|||
if (cmd.EqualsWithConversion(kLoadAsData)) {
|
||||
// Generate a document load event for the case when an XML document was loaded
|
||||
// as pure data without any presentation attached to it.
|
||||
nsCOMPtr<nsIScriptGlobalObject> scriptGlobal;
|
||||
nsEventStatus status = nsEventStatus_eIgnore;
|
||||
nsMouseEvent event;
|
||||
nsEvent event;
|
||||
event.eventStructType = NS_EVENT;
|
||||
event.message = NS_PAGE_LOAD;
|
||||
HandleDOMEvent(nsnull, &event, nsnull, NS_EVENT_FLAG_INIT, &status);
|
||||
|
|
Загрузка…
Ссылка в новой задаче