mshtml: Fixed nsEventStates handling.

It contains a copy-constructor in C++, so it's passed as a pointer.
This commit is contained in:
Jacek Caban 2011-11-30 13:53:33 +01:00 committed by Alexandre Julliard
parent f9bb1b7afd
commit 38371bed29
2 changed files with 5 additions and 5 deletions

View file

@ -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)
{
}

View file

@ -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,