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