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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user