diff --git a/mozilla/editor/base/TypeInState.cpp b/mozilla/editor/base/TypeInState.cpp index 06bf27cfff9..18cce18654b 100644 --- a/mozilla/editor/base/TypeInState.cpp +++ b/mozilla/editor/base/TypeInState.cpp @@ -66,7 +66,7 @@ TypeInState::~TypeInState() { } -NS_IMETHODIMP TypeInState::NotifySelectionChanged() +NS_IMETHODIMP TypeInState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *) { Reset(); return NS_OK; diff --git a/mozilla/editor/base/TypeInState.h b/mozilla/editor/base/TypeInState.h index 39b782dc2b4..5e77720b84e 100644 --- a/mozilla/editor/base/TypeInState.h +++ b/mozilla/editor/base/TypeInState.h @@ -48,7 +48,7 @@ public: void Reset(); virtual ~TypeInState(); - NS_IMETHOD NotifySelectionChanged(); + NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel); nsresult SetProp(nsIAtom *aProp); nsresult SetProp(nsIAtom *aProp, const nsString &aAttr); diff --git a/mozilla/editor/base/nsInterfaceState.cpp b/mozilla/editor/base/nsInterfaceState.cpp index 012bdb46f6c..0f4f4fb6b9f 100644 --- a/mozilla/editor/base/nsInterfaceState.cpp +++ b/mozilla/editor/base/nsInterfaceState.cpp @@ -124,7 +124,7 @@ nsInterfaceState::NotifyDocumentStateChanged(PRBool aNowDirty) } NS_IMETHODIMP -nsInterfaceState::NotifySelectionChanged() +nsInterfaceState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *) { return PrimeUpdateTimer(); } diff --git a/mozilla/editor/base/nsInterfaceState.h b/mozilla/editor/base/nsInterfaceState.h index e89832c68b7..1c87a751096 100644 --- a/mozilla/editor/base/nsInterfaceState.h +++ b/mozilla/editor/base/nsInterfaceState.h @@ -57,7 +57,7 @@ public: NS_IMETHOD ForceUpdate(); // nsIDOMSelectionListener interface - NS_IMETHOD NotifySelectionChanged(); + NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel); NS_DECL_NSIDOCUMENTSTATELISTENER diff --git a/mozilla/editor/composer/src/nsInterfaceState.cpp b/mozilla/editor/composer/src/nsInterfaceState.cpp index 012bdb46f6c..0f4f4fb6b9f 100644 --- a/mozilla/editor/composer/src/nsInterfaceState.cpp +++ b/mozilla/editor/composer/src/nsInterfaceState.cpp @@ -124,7 +124,7 @@ nsInterfaceState::NotifyDocumentStateChanged(PRBool aNowDirty) } NS_IMETHODIMP -nsInterfaceState::NotifySelectionChanged() +nsInterfaceState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *) { return PrimeUpdateTimer(); } diff --git a/mozilla/editor/composer/src/nsInterfaceState.h b/mozilla/editor/composer/src/nsInterfaceState.h index e89832c68b7..1c87a751096 100644 --- a/mozilla/editor/composer/src/nsInterfaceState.h +++ b/mozilla/editor/composer/src/nsInterfaceState.h @@ -57,7 +57,7 @@ public: NS_IMETHOD ForceUpdate(); // nsIDOMSelectionListener interface - NS_IMETHOD NotifySelectionChanged(); + NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel); NS_DECL_NSIDOCUMENTSTATELISTENER diff --git a/mozilla/editor/libeditor/html/TypeInState.cpp b/mozilla/editor/libeditor/html/TypeInState.cpp index 06bf27cfff9..18cce18654b 100644 --- a/mozilla/editor/libeditor/html/TypeInState.cpp +++ b/mozilla/editor/libeditor/html/TypeInState.cpp @@ -66,7 +66,7 @@ TypeInState::~TypeInState() { } -NS_IMETHODIMP TypeInState::NotifySelectionChanged() +NS_IMETHODIMP TypeInState::NotifySelectionChanged(nsIDOMDocument *, nsIDOMSelection *) { Reset(); return NS_OK; diff --git a/mozilla/editor/libeditor/html/TypeInState.h b/mozilla/editor/libeditor/html/TypeInState.h index 39b782dc2b4..5e77720b84e 100644 --- a/mozilla/editor/libeditor/html/TypeInState.h +++ b/mozilla/editor/libeditor/html/TypeInState.h @@ -48,7 +48,7 @@ public: void Reset(); virtual ~TypeInState(); - NS_IMETHOD NotifySelectionChanged(); + NS_IMETHOD NotifySelectionChanged(nsIDOMDocument *aDoc, nsIDOMSelection *aSel); nsresult SetProp(nsIAtom *aProp); nsresult SetProp(nsIAtom *aProp, const nsString &aAttr);