Make the signature of nsHTMLDocument::FlushPendingNotifications() match nsIDocument::FlushPendingNotifications() so that callers of the interface method actually call the correct method. No bug. r=peterv@netscape.com, sr=rpotts@netscape.com. Problem found by jkeiser@iname.com

git-svn-id: svn://10.0.0.236/trunk@106680 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2001-10-30 09:58:07 +00:00
parent 1467e1e8bc
commit 4aad4d442d
2 changed files with 6 additions and 3 deletions

View File

@@ -1246,7 +1246,8 @@ nsHTMLDocument::AttributeChanged(nsIContent* aContent, PRInt32 aNameSpaceID,
}
NS_IMETHODIMP
nsHTMLDocument::FlushPendingNotifications(PRBool aFlushReflows)
nsHTMLDocument::FlushPendingNotifications(PRBool aFlushReflows,
PRBool aUpdateViews)
{
// Determine if it is safe to flush the sink
// by determining if it safe to flush all the presshells.
@@ -1274,7 +1275,8 @@ nsHTMLDocument::FlushPendingNotifications(PRBool aFlushReflows)
}
if (NS_SUCCEEDED(result)) {
result = nsDocument::FlushPendingNotifications(aFlushReflows);
result = nsDocument::FlushPendingNotifications(aFlushReflows,
aUpdateViews);
}
return result;