diff --git a/extensions/transformiix/source/xpath/nsXPathResult.cpp b/extensions/transformiix/source/xpath/nsXPathResult.cpp index 441b9550167..c88c4a1a004 100644 --- a/extensions/transformiix/source/xpath/nsXPathResult.cpp +++ b/extensions/transformiix/source/xpath/nsXPathResult.cpp @@ -205,28 +205,18 @@ nsXPathResult::SnapshotItem(PRUint32 aIndex, nsIDOMNode **aResult) return NS_OK; } +NS_IMPL_NSIDOCUMENTOBSERVER_CORE_STUB(nsXPathResult) NS_IMPL_NSIDOCUMENTOBSERVER_LOAD_STUB(nsXPathResult) NS_IMPL_NSIDOCUMENTOBSERVER_REFLOW_STUB(nsXPathResult) NS_IMPL_NSIDOCUMENTOBSERVER_STYLE_STUB(nsXPathResult) NS_IMPL_NSIDOCUMENTOBSERVER_STATE_STUB(nsXPathResult) -NS_IMETHODIMP -nsXPathResult::BeginUpdate(nsIDocument* aDocument) -{ - return NS_OK; -} - -NS_IMETHODIMP -nsXPathResult::EndUpdate(nsIDocument* aDocument) -{ - return NS_OK; -} - NS_IMETHODIMP nsXPathResult::ContentChanged(nsIDocument* aDocument, nsIContent *aContent, nsISupports *aSubContent) { + Invalidate(); return NS_OK; } @@ -282,13 +272,6 @@ nsXPathResult::ContentRemoved(nsIDocument* aDocument, return NS_OK; } -NS_IMETHODIMP -nsXPathResult::DocumentWillBeDestroyed(nsIDocument* aDocument) -{ - Invalidate(); - return NS_OK; -} - NS_IMETHODIMP nsXPathResult::SetExprResult(ExprResult* aExprResult, PRUint16 aResultType) {