Commit 38371bed authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Fixed nsEventStates handling.

It contains a copy-constructor in C++, so it's passed as a pointer.
parent f9bb1b7a
......@@ -552,12 +552,12 @@ static void NSAPI nsDocumentObserver_EndLoad(nsIDocumentObserver *iface, nsIDocu
}
static void NSAPI nsDocumentObserver_ContentStatesChanged(nsIDocumentObserver *iface, nsIDocument *aDocument,
nsIContent *aContent, nsEventStates aStateMask)
nsIContent *aContent, nsEventStates *aStateMask)
{
}
static void NSAPI nsDocumentObserver_DocumentStatesChanged(nsIDocumentObserver *iface, nsIDocument *aDocument,
nsEventStates aStateMask)
nsEventStates *aStateMask)
{
}
......
......@@ -3169,7 +3169,7 @@ interface nsIParser : nsISupports
]
interface nsIDocumentObserver : nsIMutationObserver
{
typedef int nsUpdateType;
typedef PRUint32 nsUpdateType;
typedef struct {
PRUint64 mStates;
......@@ -3179,8 +3179,8 @@ interface nsIDocumentObserver : nsIMutationObserver
void EndUpdate(nsIDocument *aDocument, nsUpdateType aUpdateType);
void BeginLoad(nsIDocument *aDocument);
void EndLoad(nsIDocument *aDocument);
void ContentStatesChanged(nsIDocument *aDocument, nsIContent *aContent, nsEventStates aStateMask);
void DocumentStatesChanged(nsIDocument *aDocument, nsEventStates aStateMask);
void ContentStatesChanged(nsIDocument *aDocument, nsIContent *aContent, nsEventStates *aStateMask);
void DocumentStatesChanged(nsIDocument *aDocument, nsEventStates *aStateMask);
void StyleSheetAdded(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, PRBool aDocumentSheet);
void StyleSheetRemoved(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet, PRBool aDocumentSheet);
void StyleSheetApplicableStateChanged(nsIDocument *aDocument, nsIStyleSheet *aStyleSheet,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment