Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking

git-svn-id: svn://10.0.0.236/trunk@219201 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jonas%sicking.cc
2007-01-30 21:21:06 +00:00
parent 1172c6e14c
commit dc89ea1f2d
29 changed files with 1262 additions and 864 deletions

View File

@@ -1319,22 +1319,6 @@ nsHTMLDocument::AttributeChanged(nsIDocument* aDocument,
}
}
void
nsHTMLDocument::FlushPendingNotifications(mozFlushType aType)
{
// Determine if it is safe to flush the sink notifications
// by determining if it safe to flush all the presshells.
if ((aType & Flush_Content) && mParser &&
(!(aType & Flush_SinkNotifications) || IsSafeToFlush())) {
nsCOMPtr<nsIContentSink> sink = mParser->GetContentSink();
if (sink) {
sink->FlushPendingNotifications(aType);
}
}
nsDocument::FlushPendingNotifications(aType);
}
PRBool
nsHTMLDocument::IsCaseSensitive()
{