diff --git a/mozilla/extensions/inspector/base/src/inLayoutUtils.cpp b/mozilla/extensions/inspector/base/src/inLayoutUtils.cpp index 2c3a3d002c7..805c77f0b72 100644 --- a/mozilla/extensions/inspector/base/src/inLayoutUtils.cpp +++ b/mozilla/extensions/inspector/base/src/inLayoutUtils.cpp @@ -220,7 +220,7 @@ inLayoutUtils::GetScreenOrigin(nsIDOMElement* aElement) if (presShell) { // Flush all pending notifications so that our frames are uptodate - presShell->FlushPendingNotifications(); + presShell->FlushPendingNotifications(PR_FALSE); nsCOMPtr presContext; presShell->GetPresContext(getter_AddRefs(presContext)); diff --git a/mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp b/mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp index e4ca76aa134..75c571d0dd8 100644 --- a/mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp +++ b/mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp @@ -2915,7 +2915,7 @@ NS_IMETHODIMP mozXMLTermSession::ScrollToBottomLeft(void) if (NS_FAILED(result) || !presShell) return NS_ERROR_FAILURE; - presShell->FlushPendingNotifications(); + presShell->FlushPendingNotifications(PR_FALSE); // Get DOM Window nsCOMPtr docShell;