From 1ece16730242fcdb68ddef5352dce8ce37cc6b14 Mon Sep 17 00:00:00 2001 From: "sicking%bigfoot.com" Date: Wed, 2 Nov 2005 07:38:30 +0000 Subject: [PATCH] *** empty log message *** --- content/xslt/src/xpath/nsXPathResult.cpp | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) diff --git a/content/xslt/src/xpath/nsXPathResult.cpp b/content/xslt/src/xpath/nsXPathResult.cpp index 441b9550167..c88c4a1a004 100644 --- a/content/xslt/src/xpath/nsXPathResult.cpp +++ b/content/xslt/src/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) {