Bug 181803: Invalidate nsXPathResult when the nodevalue of a node is changed.

r=Pike sr=peterv a=asa
This commit is contained in:
sicking%bigfoot.com 2002-12-06 19:54:46 +00:00
Родитель 23a9b5e669
Коммит 93b2efffa0
1 изменённых файлов: 2 добавлений и 19 удалений

Просмотреть файл

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