diff --git a/mozilla/content/html/document/src/nsHTMLDocument.cpp b/mozilla/content/html/document/src/nsHTMLDocument.cpp
index 9a139700cb2..bb247cbd2fc 100644
--- a/mozilla/content/html/document/src/nsHTMLDocument.cpp
+++ b/mozilla/content/html/document/src/nsHTMLDocument.cpp
@@ -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;
diff --git a/mozilla/content/html/document/src/nsHTMLDocument.h b/mozilla/content/html/document/src/nsHTMLDocument.h
index 88a5306f533..7ebea0f4ade 100644
--- a/mozilla/content/html/document/src/nsHTMLDocument.h
+++ b/mozilla/content/html/document/src/nsHTMLDocument.h
@@ -139,7 +139,8 @@ public:
PRInt32 aNameSpaceID,
nsIAtom* aAttribute);
- NS_IMETHOD FlushPendingNotifications(PRBool aFlushReflows = PR_TRUE);
+ NS_IMETHOD FlushPendingNotifications(PRBool aFlushReflows = PR_TRUE,
+ PRBool aUpdateViews = PR_FALSE);
// nsIDOMDocument interface
NS_DECL_NSIDOMDOCUMENT