зеркало из https://github.com/mozilla/pjs.git
Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
This commit is contained in:
Родитель
609d14bc6e
Коммит
72c392967f
|
@ -202,9 +202,9 @@ NS_IMPL_NSIDOCUMENTOBSERVER_STYLE_STUB(nsXPathResult)
|
|||
NS_IMPL_NSIDOCUMENTOBSERVER_STATE_STUB(nsXPathResult)
|
||||
|
||||
void
|
||||
nsXPathResult::ContentChanged(nsIDocument* aDocument,
|
||||
nsIContent *aContent,
|
||||
nsISupports *aSubContent)
|
||||
nsXPathResult::CharacterDataChanged(nsIDocument* aDocument,
|
||||
nsIContent *aContent,
|
||||
PRBool aAppend)
|
||||
{
|
||||
Invalidate();
|
||||
}
|
||||
|
|
|
@ -846,9 +846,9 @@ txMozillaXSLTProcessor::DocumentWillBeDestroyed(nsIDocument* aDocument)
|
|||
}
|
||||
|
||||
void
|
||||
txMozillaXSLTProcessor::ContentChanged(nsIDocument* aDocument,
|
||||
nsIContent *aContent,
|
||||
nsISupports *aSubContent)
|
||||
txMozillaXSLTProcessor::CharacterDataChanged(nsIDocument* aDocument,
|
||||
nsIContent *aContent,
|
||||
PRBool aAppend)
|
||||
{
|
||||
mStylesheet = nsnull;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче